mercurial/commands.py
branchstable
changeset 13693 adf3c4401c5d
parent 13620 8ee4b00ddfd8
child 13694 4f5ed2bd1724
child 13952 1416b9118540
--- a/mercurial/commands.py	Thu Mar 17 16:29:09 2011 -0400
+++ b/mercurial/commands.py	Thu Mar 17 22:55:02 2011 +0100
@@ -2999,9 +2999,9 @@
 
     dest = ui.expandpath(dest or 'default-push', dest or 'default')
     dest, branches = hg.parseurl(dest, opts.get('branch'))
+    ui.status(_('pushing to %s\n') % url.hidepassword(dest))
     revs, checkout = hg.addbranchrevs(repo, repo, branches, opts.get('rev'))
     other = hg.repository(hg.remoteui(repo, opts), dest)
-    ui.status(_('pushing to %s\n') % url.hidepassword(dest))
     if revs:
         revs = [repo.lookup(rev) for rev in revs]