[PATCH RFC] dispatch: print 'abort:' when a pre-command hook fails
Matt Mackall
mpm at selenic.com
Tue Apr 16 19:28:35 CDT 2013
On Tue, 2013-04-16 at 14:44 -0700, Siddharth Agarwal wrote:
> # HG changeset patch
> # User Siddharth Agarwal <sid0 at fb.com>
> # Date 1366148377 25200
> # Tue Apr 16 14:39:37 2013 -0700
> # Node ID 58f26562aa8cc468c651d65b55c16e2c0f9946df
> # Parent 1e9704ba956a08cb298be3afb9a90fcf9d54c142
> dispatch: print 'abort:' when a pre-command hook fails
> This also changes the exit code from whatever the hook returned to 255. This
> brings it in line with all the other hooks that abort.
Queued for default with added (BC) tag. I think this is clearly more
correct.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list