##// END OF EJS Templates
push/outgoing: print remote target path even if there's an error (issue2561)...
Miloš Hadžić -
r13693:adf3c440 stable
parent child Browse files
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"))
@@ -266,6 +266,7 b' push should succeed even though it has a'
266 266 passwords in ssh urls are not supported
267 267
268 268 $ hg push ssh://user:erroneouspwd@dummy/remote
269 pushing to ssh://user:***@dummy/remote
269 270 abort: password in URL not supported!
270 271 [255]
271 272
General Comments 0
You need to be logged in to leave comments. Login now