Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 16021:7f47873d7484 stable
push: return 0 when updating bookmarks
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 30 Jan 2012 11:23:17 -0600 |
parents | eb85d5f89fef |
children | 04604d1a9fc3 |
comparison
equal
deleted
inserted
replaced
16020:7460f3a1fd6c | 16021:7f47873d7484 |
---|---|
4446 r = other.pushkey('bookmarks', b, old, new) | 4446 r = other.pushkey('bookmarks', b, old, new) |
4447 if not r: | 4447 if not r: |
4448 ui.warn(_('updating bookmark %s failed!\n') % b) | 4448 ui.warn(_('updating bookmark %s failed!\n') % b) |
4449 if not result: | 4449 if not result: |
4450 result = 2 | 4450 result = 2 |
4451 result = 0 | |
4451 | 4452 |
4452 return result | 4453 return result |
4453 | 4454 |
4454 @command('recover', []) | 4455 @command('recover', []) |
4455 def recover(ui, repo): | 4456 def recover(ui, repo): |