py3: add b'' prefixes in test-abort-checkin.t
authorPulkit Goyal <7895pulkit@gmail.com>
Fri, 23 Feb 2018 16:57:17 +0530
changeset 36406 f798709eb4b9
parent 36405 f0c94af0d70d
child 36407 dbadf28d4db0
py3: add b'' prefixes in test-abort-checkin.t # skip-blame because we just added a b'' prefix.
tests/test-abort-checkin.t
--- 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