Mercurial > hg-stable
diff tests/test-clone-failure.out @ 2057:fef2d653beaf
Never exit directly from commands.dispatch(), but pass return code to caller.
Usually the caller is commands.run().
Some extensions still use sys.exit(), this is catched, too.
Fixed wrong return statement in commands.recover() yielding a zero exit code.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 11 Apr 2006 08:42:07 +0200 |
parents | a679a364436a |
children | 30c7564f6dfc |
line wrap: on
line diff
--- a/tests/test-clone-failure.out Tue Apr 11 07:08:16 2006 +0200 +++ b/tests/test-clone-failure.out Tue Apr 11 08:42:07 2006 +0200 @@ -6,7 +6,7 @@ abort: repository a not found! 255 abort: destination '../a' already exists -1 +255 abort: repository a not found! 255 abort: destination 'q' already exists