Show More
@@ -2999,9 +2999,9 b' def push(ui, repo, dest=None, **opts):' | |||
|
2999 | 2999 | |
|
3000 | 3000 | dest = ui.expandpath(dest or 'default-push', dest or 'default') |
|
3001 | 3001 | dest, branches = hg.parseurl(dest, opts.get('branch')) |
|
3002 | ui.status(_('pushing to %s\n') % url.hidepassword(dest)) | |
|
3002 | 3003 | revs, checkout = hg.addbranchrevs(repo, repo, branches, opts.get('rev')) |
|
3003 | 3004 | other = hg.repository(hg.remoteui(repo, opts), dest) |
|
3004 | ui.status(_('pushing to %s\n') % url.hidepassword(dest)) | |
|
3005 | 3005 | if revs: |
|
3006 | 3006 | revs = [repo.lookup(rev) for rev in revs] |
|
3007 | 3007 |
@@ -472,12 +472,12 b' def incoming(ui, repo, source, opts):' | |||
|
472 | 472 | def _outgoing(ui, repo, dest, opts): |
|
473 | 473 | dest = ui.expandpath(dest or 'default-push', dest or 'default') |
|
474 | 474 | dest, branches = parseurl(dest, opts.get('branch')) |
|
475 | ui.status(_('comparing with %s\n') % url.hidepassword(dest)) | |
|
475 | 476 | revs, checkout = addbranchrevs(repo, repo, branches, opts.get('rev')) |
|
476 | 477 | if revs: |
|
477 | 478 | revs = [repo.lookup(rev) for rev in revs] |
|
478 | 479 | |
|
479 | 480 | other = repository(remoteui(repo, opts), dest) |
|
480 | ui.status(_('comparing with %s\n') % url.hidepassword(dest)) | |
|
481 | 481 | o = discovery.findoutgoing(repo, other, force=opts.get('force')) |
|
482 | 482 | if not o: |
|
483 | 483 | ui.status(_("no changes found\n")) |
General Comments 0
You need to be logged in to leave comments.
Login now