diff -r e071d161b266 -r 12acbea17625 mercurial/dispatch.py --- a/mercurial/dispatch.py Mon Apr 15 23:31:56 2013 +0200 +++ b/mercurial/dispatch.py Tue Apr 16 14:39:37 2013 -0700 @@ -511,10 +511,8 @@ def runcommand(lui, repo, cmd, fullargs, ui, options, d, cmdpats, cmdoptions): # run pre-hook, and abort if it fails - ret = hook.hook(lui, repo, "pre-%s" % cmd, False, args=" ".join(fullargs), - pats=cmdpats, opts=cmdoptions) - if ret: - return ret + hook.hook(lui, repo, "pre-%s" % cmd, True, args=" ".join(fullargs), + pats=cmdpats, opts=cmdoptions) ret = _runcommand(ui, options, cmd, d) # run post-hook, passing command result hook.hook(lui, repo, "post-%s" % cmd, False, args=" ".join(fullargs),