equal
deleted
inserted
replaced
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 ) |