equal
deleted
inserted
replaced
3862 revs = [] |
3862 revs = [] |
3863 |
3863 |
3864 peer = None |
3864 peer = None |
3865 try: |
3865 try: |
3866 if source: |
3866 if source: |
3867 source, branches = urlutil.parseurl(ui.expandpath(source)) |
3867 source, branches = urlutil.get_unique_pull_path( |
|
3868 b'identify', repo, ui, source |
|
3869 ) |
3868 # only pass ui when no repo |
3870 # only pass ui when no repo |
3869 peer = hg.peer(repo or ui, opts, source) |
3871 peer = hg.peer(repo or ui, opts, source) |
3870 repo = peer.local() |
3872 repo = peer.local() |
3871 revs, checkout = hg.addbranchrevs(repo, peer, branches, None) |
3873 revs, checkout = hg.addbranchrevs(repo, peer, branches, None) |
3872 |
3874 |