Mercurial > hg
changeset 38603:4df549d0f1fd
py3: byte-stringify literals in extension in test-bundle2-exchange.t
# skip-blame just some b''
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 08 Jul 2018 19:05:00 +0900 |
parents | 44f5acfb9ad2 |
children | 2834ac06d5a9 |
files | tests/test-bundle2-exchange.t |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-bundle2-exchange.t Fri Jun 22 01:42:38 2018 +0200 +++ b/tests/test-bundle2-exchange.t Sun Jul 08 19:05:00 2018 +0900 @@ -936,11 +936,11 @@ > import os > from mercurial import extensions, bundle2, error > def checklock(orig, repo, *args, **kwargs): - > if repo.svfs.lexists("lock"): - > raise error.Abort("Lock should not be taken") + > if repo.svfs.lexists(b"lock"): + > raise error.Abort(b"Lock should not be taken") > return orig(repo, *args, **kwargs) > def extsetup(ui): - > extensions.wrapfunction(bundle2, 'processbundle', checklock) + > extensions.wrapfunction(bundle2, b'processbundle', checklock) > EOF $ hg init lazylock