tests/test-abort-checkin.t
changeset 36375 f798709eb4b9
parent 26587 56b2bcea2529
--- a/tests/test-abort-checkin.t	Wed Feb 21 23:43:23 2018 +0530
+++ b/tests/test-abort-checkin.t	Fri Feb 23 16:57:17 2018 +0530
@@ -1,9 +1,9 @@
   $ cat > abortcommit.py <<EOF
   > from mercurial import error
   > def hook(**args):
-  >     raise error.Abort("no commits allowed")
+  >     raise error.Abort(b"no commits allowed")
   > def reposetup(ui, repo):
-  >     repo.ui.setconfig("hooks", "pretxncommit.nocommits", hook)
+  >     repo.ui.setconfig(b"hooks", b"pretxncommit.nocommits", hook)
   > EOF
   $ abspath=`pwd`/abortcommit.py