changeset 26587 | 56b2bcea2529 |
parent 23172 | e955549cd045 |
child 36406 | f798709eb4b9 |
--- a/tests/test-abort-checkin.t Mon Oct 05 22:49:24 2015 -0700 +++ b/tests/test-abort-checkin.t Thu Oct 08 12:55:45 2015 -0700 @@ -1,7 +1,7 @@ $ cat > abortcommit.py <<EOF - > from mercurial import util + > from mercurial import error > def hook(**args): - > raise util.Abort("no commits allowed") + > raise error.Abort("no commits allowed") > def reposetup(ui, repo): > repo.ui.setconfig("hooks", "pretxncommit.nocommits", hook) > EOF