# HG changeset patch # User Luke Opperman # Date 1239719560 18000 # Node ID f000b2392fc225a0ce859c2db5e1d4e9cf09e6ac # Parent a5f20358f7374e19237408611b0acf8189329cc5 Push status messages, remove svn flag from opts before passing on diff --git a/wrappers.py b/wrappers.py --- a/wrappers.py +++ b/wrappers.py @@ -88,6 +88,7 @@ def diff(orig, ui, repo, *args, **opts): def push(orig, ui, repo, dest=None, *args, **opts): """push revisions starting at a specified head back to Subversion. """ + opts.pop('svn', None) # unused in this case svnurl = repo.ui.expandpath(dest or 'default-push', dest or 'default') if not cmdutil.issvnurl(svnurl): return orig(ui, repo, dest=dest, *args, **opts) @@ -105,9 +106,10 @@ def push(orig, ui, repo, dest=None, *arg ui.status('Cowardly refusing to push branch merge') return 1 workingrev = repo.parents()[0] + ui.status('searching for changes\n') outgoing = util.outgoing_revisions(ui, repo, hge, svn_commit_hashes, workingrev.node()) if not (outgoing and len(outgoing)): - ui.status('No revisions to push.') + ui.status('no changes found\n') return 0 while outgoing: oldest = outgoing.pop(-1)