Skip to content

Renaming repo fails when using strip-path #1

Open
@Code0x58

Description

@Code0x58
2019-06-13 10:26:27+0100 [INFO] moving foo/bar/companion-kube to foo/bar/tools/companion-kube
Traceback (most recent call last):
  File "/home/username/.local/venvs/gitlab-sync/lib/python3.7/shutil.py", line 563, in move
    os.rename(src, real_dst)
FileNotFoundError: [Errno 2] No such file or directory: '/home/username/code/src/gitlab.com/foo/bar/foo/bar/companion-kube' -> '/home/username/code/src/gitlab.com/foo/bar/foo/bar/tools/companion-kube/companion-kube'

During handling of the above exception, another exception occurred:
…
FileNotFoundError: [Errno 2] No such file or directory: '/home/username/code/src/gitlab.com/foo/bar/foo/bar/companion-kube'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions