This makes the test pass on Python 3.
- skip-blame because just b'' prefix.
hg-reviewers |
This makes the test pass on Python 3.
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | contrib/python3-whitelist (1 line) | |||
M | tests/test-requires.t (2 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
Pulkit Goyal | Oct 12 2018, 10:14 PM |
test-removeemptydirs.t | test-removeemptydirs.t | ||||
test-rename-after-merge.t | test-rename-after-merge.t | ||||
test-rename-dir-merge.t | test-rename-dir-merge.t | ||||
test-rename-merge1.t | test-rename-merge1.t | ||||
test-rename-merge2.t | test-rename-merge2.t | ||||
test-rename.t | test-rename.t | ||||
test-repair-strip.t | test-repair-strip.t | ||||
test-repo-compengines.t | test-repo-compengines.t | ||||
test-requires.t | |||||
test-resolve.t | test-resolve.t | ||||
test-revert-flags.t | test-revert-flags.t | ||||
test-revert-interactive.t | test-revert-interactive.t | ||||
test-revert-unknown.t | test-revert-unknown.t | ||||
test-revert.t | test-revert.t | ||||
test-revisions.t | test-revisions.t | ||||
test-revlog-ancestry.py | test-revlog-ancestry.py | ||||
test-revlog-group-emptyiter.t | test-revlog-group-emptyiter.t |
$ echo 'featuresetup-test' >> supported/.hg/requires | $ echo 'featuresetup-test' >> supported/.hg/requires | ||||
$ cat > $TESTTMP/supported-locally/supportlocally.py <<EOF | $ cat > $TESTTMP/supported-locally/supportlocally.py <<EOF | ||||
> from __future__ import absolute_import | > from __future__ import absolute_import | ||||
> from mercurial import extensions, localrepo | > from mercurial import extensions, localrepo | ||||
> def featuresetup(ui, supported): | > def featuresetup(ui, supported): | ||||
> for name, module in extensions.extensions(ui): | > for name, module in extensions.extensions(ui): | ||||
> if __name__ == module.__name__: | > if __name__ == module.__name__: | ||||
> # support specific feature locally | > # support specific feature locally | ||||
> supported |= {'featuresetup-test'} | > supported |= {b'featuresetup-test'} | ||||
> return | > return | ||||
> def uisetup(ui): | > def uisetup(ui): | ||||
> localrepo.featuresetupfuncs.add(featuresetup) | > localrepo.featuresetupfuncs.add(featuresetup) | ||||
> EOF | > EOF | ||||
$ cat > supported/.hg/hgrc <<EOF | $ cat > supported/.hg/hgrc <<EOF | ||||
> [extensions] | > [extensions] | ||||
> # enable extension locally | > # enable extension locally | ||||
> supportlocally = $TESTTMP/supported-locally/supportlocally.py | > supportlocally = $TESTTMP/supported-locally/supportlocally.py |