D5646: tests: add b'' to notcapable
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Wed Jan 23 00:49:49 EST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG15fd3069caa6: tests: add b'' to notcapable (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5646?vs=13342&id=13358
REVISION DETAIL
https://phab.mercurial-scm.org/D5646
AFFECTED FILES
tests/notcapable
CHANGE DETAILS
diff --git a/tests/notcapable b/tests/notcapable
--- a/tests/notcapable
+++ b/tests/notcapable
@@ -11,7 +11,7 @@
extensions.wrapfunction(repository.peer, 'capable', wrapcapable)
extensions.wrapfunction(localrepo.localrepository, 'peer', wrappeer)
def wrapcapable(orig, self, name, *args, **kwargs):
- if name in '$CAP'.split(' '):
+ if name in b'$CAP'.split(b' '):
return False
return orig(self, name, *args, **kwargs)
def wrappeer(orig, self):
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list