D2246: tests: add bytes prefixes to test-histedit-fold.t's local extension
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Wed Feb 14 00:13:29 UTC 2018
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
1. skip-blame b prefixes
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D2246
AFFECTED FILES
tests/test-histedit-fold.t
CHANGE DETAILS
diff --git a/tests/test-histedit-fold.t b/tests/test-histedit-fold.t
--- a/tests/test-histedit-fold.t
+++ b/tests/test-histedit-fold.t
@@ -154,9 +154,9 @@
> from mercurial import util
> def abortfolding(ui, repo, hooktype, **kwargs):
> ctx = repo[kwargs.get('node')]
- > if set(ctx.files()) == {'c', 'd', 'f'}:
+ > if set(ctx.files()) == {b'c', b'd', b'f'}:
> return True # abort folding commit only
- > ui.warn('allow non-folding commit\\n')
+ > ui.warn(b'allow non-folding commit\\n')
> EOF
$ cat > .hg/hgrc <<EOF
> [hooks]
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list