mercurial/commands.py
branchstable
changeset 17875 92ba3cd55be6
parent 17849 6da47b655d97
child 17887 0e2846b2482c
equal deleted inserted replaced
17874:2ba70eec1cf0 17875:92ba3cd55be6
  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: