diff -r d51c658d3f04 -r 56b2bcea2529 tests/test-hook.t --- a/tests/test-hook.t Mon Oct 05 22:49:24 2015 -0700 +++ b/tests/test-hook.t Thu Oct 08 12:55:45 2015 -0700 @@ -394,7 +394,7 @@ $ cd "$TESTTMP/b" $ cat > hooktests.py < from mercurial import util + > from mercurial import error > > uncallable = 0 > @@ -421,7 +421,7 @@ > raise LocalException('exception from hook') > > def aborthook(**args): - > raise util.Abort('raise abort from hook') + > raise error.Abort('raise abort from hook') > > def brokenhook(**args): > return 1 + {}