mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
Merge backout of f9733bec1b30.
This commit is contained in:
commit
82438b9e5f
@ -439,9 +439,7 @@ def clone(orig, ui, source, dest=None, **opts):
|
||||
data['branches'] = branches
|
||||
ui.setconfig('hgsubversion', 'branch', branches[-1])
|
||||
|
||||
# NOTE: this breaks on Mercurial 1.6, where passing a repository
|
||||
# object to hg.clone() will abort. Mercurial 1.6.1 fixed it.
|
||||
data['srcrepo'], data['dstrepo'] = orig(ui, srcrepo, dest, **opts)
|
||||
data['srcrepo'], data['dstrepo'] = orig(ui, origsource, dest, **opts)
|
||||
|
||||
for opt, (section, name) in optionmap.iteritems():
|
||||
if opt in opts and opts[opt]:
|
||||
|
Loading…
Reference in New Issue
Block a user