mirror of
https://github.com/git/git.git
synced 2026-02-13 11:21:10 +00:00
remote-hg: adjust to hg 1.9
hg 1.0 changed the signature of hg.clone(). Adjust to it. A real fix would need to check the hg version or try/catch.
This commit is contained in:
committed by
Pat Thoyts
parent
e053c71966
commit
c539d0cca2
@@ -23,7 +23,7 @@ class NonLocalHg(object):
|
||||
from_path = self.repo.path
|
||||
|
||||
self.repo.ui.setconfig('ui', 'quiet', "true")
|
||||
self.hg.clone(self.repo.ui, from_path, path, update=False, pull=True)
|
||||
self.hg.clone(self.repo.ui, {}, from_path, path, update=False, pull=True)
|
||||
|
||||
return path
|
||||
|
||||
|
||||
Reference in New Issue
Block a user