D5427: py3: add a b'' prefix in tests/test-remotefilelog-pull-noshallow.t
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Fri Dec 14 18:01:49 UTC 2018
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This makes the test pass on Python 3.
1. skip-blame because just b'' prefix.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5427
AFFECTED FILES
contrib/python3-whitelist
tests/test-remotefilelog-pull-noshallow.t
CHANGE DETAILS
diff --git a/tests/test-remotefilelog-pull-noshallow.t b/tests/test-remotefilelog-pull-noshallow.t
--- a/tests/test-remotefilelog-pull-noshallow.t
+++ b/tests/test-remotefilelog-pull-noshallow.t
@@ -11,7 +11,7 @@
$ cat > setupremotefilelog.py << EOF
> from mercurial import extensions
> def extsetup(ui):
- > remotefilelog = extensions.find('remotefilelog')
+ > remotefilelog = extensions.find(b'remotefilelog')
> remotefilelog.onetimeclientsetup(ui)
> EOF
diff --git a/contrib/python3-whitelist b/contrib/python3-whitelist
--- a/contrib/python3-whitelist
+++ b/contrib/python3-whitelist
@@ -532,6 +532,7 @@
test-remotefilelog-keepset.t
test-remotefilelog-partial-shallow.t
test-remotefilelog-prefetch.t
+test-remotefilelog-pull-noshallow.t
test-remotefilelog-share.t
test-remotefilelog-tags.t
test-remove.t
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list