mercurial/commands.py
changeset 46014 b86608e97fa8
parent 45978 c3d0b3c29ec4
child 46041 9c0db3671008
equal deleted inserted replaced
46013:7a79548954b3 46014:b86608e97fa8
  5335         hint = _(b'use hg pull followed by hg update DEST')
  5335         hint = _(b'use hg pull followed by hg update DEST')
  5336         raise error.InputError(msg, hint=hint)
  5336         raise error.InputError(msg, hint=hint)
  5337 
  5337 
  5338     source, branches = hg.parseurl(ui.expandpath(source), opts.get(b'branch'))
  5338     source, branches = hg.parseurl(ui.expandpath(source), opts.get(b'branch'))
  5339     ui.status(_(b'pulling from %s\n') % util.hidepassword(source))
  5339     ui.status(_(b'pulling from %s\n') % util.hidepassword(source))
       
  5340     ui.flush()
  5340     other = hg.peer(repo, opts, source)
  5341     other = hg.peer(repo, opts, source)
  5341     try:
  5342     try:
  5342         revs, checkout = hg.addbranchrevs(
  5343         revs, checkout = hg.addbranchrevs(
  5343             repo, other, branches, opts.get(b'rev')
  5344             repo, other, branches, opts.get(b'rev')
  5344         )
  5345         )