Skip to content
Snippets Groups Projects
Commit 4df549d0 authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

py3: byte-stringify literals in extension in test-bundle2-exchange.t

# skip-blame just some b''
parent 44f5acfb
Branches
Tags
No related merge requests found
......@@ -936,7 +936,7 @@
> 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):
......@@ -941,6 +941,6 @@
> return orig(repo, *args, **kwargs)
> def extsetup(ui):
> extensions.wrapfunction(bundle2, 'processbundle', checklock)
> extensions.wrapfunction(bundle2, b'processbundle', checklock)
> EOF
$ hg init lazylock
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment