equal
deleted
inserted
replaced
3536 output = [] |
3536 output = [] |
3537 revs = [] |
3537 revs = [] |
3538 |
3538 |
3539 if source: |
3539 if source: |
3540 source, branches = hg.parseurl(ui.expandpath(source)) |
3540 source, branches = hg.parseurl(ui.expandpath(source)) |
3541 peer = hg.peer(ui, opts, source) |
3541 peer = hg.peer(repo or ui, opts, source) # only pass ui when no repo |
3542 repo = peer.local() |
3542 repo = peer.local() |
3543 revs, checkout = hg.addbranchrevs(repo, peer, branches, None) |
3543 revs, checkout = hg.addbranchrevs(repo, peer, branches, None) |
3544 |
3544 |
3545 if not repo: |
3545 if not repo: |
3546 if num or branch or tags: |
3546 if num or branch or tags: |