mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-05-07 05:16:14 +02:00
fix race fix on local repos
This commit is contained in:
committed by
Mark Nauwelaerts
parent
60a6c7b36d
commit
9d6d135855
@@ -456,6 +456,7 @@ def get_repo(url, alias):
|
||||
repo = hg.repository(myui, url)
|
||||
if not os.path.exists(dirname):
|
||||
os.makedirs(dirname)
|
||||
branchmap = repo.branchmap()
|
||||
else:
|
||||
shared_path = os.path.join(gitdir, 'hg')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user