An issue with 1.1.8 "fork" on Windows and Python
tasks.py / create_repo_fork() is responsible for an error.
The interaction with the vcs package is as so (this is a replica of the behaviour):
from vcs import get_backend backend = get_backend('hg') backend('c:\hg_repos\NewRepo', create=True, src_url='c:\hg_repos\OriginalRepo') }}}
The ultimate failure occurs within mercurial / util.py / drop_scheme()
drop_scheme('file://c:\hg_repos\OriginalRepo') }}} returns ''
drop_scheme('file://c:/hg_repos/OriginalRepo') }}} returns ''c:/hg_repos/OriginalRepo'
So the issue appears to be with backslashes in the path identifying the repo.