comparison 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
comparison
equal deleted inserted replaced
16037:9232fa4fd1ba 16038:dad96e752079
4449 r = other.pushkey('bookmarks', b, old, new) 4449 r = other.pushkey('bookmarks', b, old, new)
4450 if not r: 4450 if not r:
4451 ui.warn(_('updating bookmark %s failed!\n') % b) 4451 ui.warn(_('updating bookmark %s failed!\n') % b)
4452 if not result: 4452 if not result:
4453 result = 2 4453 result = 2
4454 result = 0
4455 4454
4456 return result 4455 return result
4457 4456
4458 @command('recover', []) 4457 @command('recover', [])
4459 def recover(ui, repo): 4458 def recover(ui, repo):