mercurial/hg.py
changeset 13694 4f5ed2bd1724
parent 13604 3f6a4579f803
parent 13693 adf3c4401c5d
child 13742 7abab875e647
--- a/mercurial/hg.py	Thu Mar 17 22:17:27 2011 +0100
+++ b/mercurial/hg.py	Thu Mar 17 17:08:13 2011 -0500
@@ -487,12 +487,12 @@
 def _outgoing(ui, repo, dest, opts):
     dest = ui.expandpath(dest or 'default-push', dest or 'default')
     dest, branches = parseurl(dest, opts.get('branch'))
+    ui.status(_('comparing with %s\n') % url.hidepassword(dest))
     revs, checkout = addbranchrevs(repo, repo, branches, opts.get('rev'))
     if revs:
         revs = [repo.lookup(rev) for rev in revs]
 
     other = repository(remoteui(repo, opts), dest)
-    ui.status(_('comparing with %s\n') % url.hidepassword(dest))
     o = discovery.findoutgoing(repo, other, force=opts.get('force'))
     if not o:
         ui.status(_("no changes found\n"))