Show More
@@ -1616,7 +1616,10 b' def clone(ui, source, dest=None, **opts)' | |||||
1616 | destrev = heads.keys() |
|
1616 | destrev = heads.keys() | |
1617 | destrev.append(sr.changelog.parents(qbase)[0]) |
|
1617 | destrev.append(sr.changelog.parents(qbase)[0]) | |
1618 | elif sr.capable('lookup'): |
|
1618 | elif sr.capable('lookup'): | |
1619 | qbase = sr.lookup('qbase') |
|
1619 | try: | |
|
1620 | qbase = sr.lookup('qbase') | |||
|
1621 | except RepoError: | |||
|
1622 | pass | |||
1620 | ui.note(_('cloning main repo\n')) |
|
1623 | ui.note(_('cloning main repo\n')) | |
1621 | sr, dr = hg.clone(ui, sr.url(), dest, |
|
1624 | sr, dr = hg.clone(ui, sr.url(), dest, | |
1622 | pull=opts['pull'], |
|
1625 | pull=opts['pull'], |
General Comments 0
You need to be logged in to leave comments.
Login now