diff mercurial/commands.py @ 16038:dad96e752079 stable

push: don't treat bookmark as a found change Treating bookmarks as a found change results in confusing documentation or output and is less useful for scripting.
author Matt Mackall <mpm@selenic.com>
date Mon, 30 Jan 2012 15:56:35 -0600
parents 7c967c4a6144
children 093b75c7b44b
line wrap: on
line diff
--- a/mercurial/commands.py	Mon Jan 30 14:44:01 2012 -0600
+++ b/mercurial/commands.py	Mon Jan 30 15:56:35 2012 -0600
@@ -4451,7 +4451,6 @@
                 ui.warn(_('updating bookmark %s failed!\n') % b)
                 if not result:
                     result = 2
-            result = 0
 
     return result