diff mercurial/localrepo.py @ 11177:6a64813276ed

commands: initial audit of exit codes bisect: clarify None return bundle: return 1 on no changes clone: return result code copy: limit errors to 0/1 commit: return 1 on no changes forget: return 1 on errors grep: return 1 if no match found remove: return 1 on errors resolve: return 1 if something fails to resolve rollback: return 1 if no rollback data
author Matt Mackall <mpm@selenic.com>
date Sat, 15 May 2010 17:48:49 -0500
parents ba78a1bfbfd9
children e43c23d189a5
line wrap: on
line diff
--- a/mercurial/localrepo.py	Fri May 14 12:57:24 2010 -0500
+++ b/mercurial/localrepo.py	Sat May 15 17:48:49 2010 -0500
@@ -647,6 +647,7 @@
                 self.destroyed()
             else:
                 self.ui.warn(_("no rollback information available\n"))
+                return 1
         finally:
             release(lock, wlock)