D2246: tests: add bytes prefixes to test-histedit-fold.t's local extension
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Wed Feb 14 05:09:34 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG2ad59b55759a: tests: add bytes prefixes to test-histedit-fold.t's local extension (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2246?vs=5670&id=5681
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, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list