Mercurial > hg-stable
changeset 36406:f798709eb4b9
py3: add b'' prefixes in test-abort-checkin.t
# skip-blame because we just added a b'' prefix.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 23 Feb 2018 16:57:17 +0530 |
parents | f0c94af0d70d |
children | dbadf28d4db0 |
files | tests/test-abort-checkin.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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