Mercurial > hg-stable
changeset 36209:f8f1973eaf8a
tests: add bytes prefixes to test-histedit-fold.t's local extension
# skip-blame b prefixes
Differential Revision: https://phab.mercurial-scm.org/D2246
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 13 Feb 2018 18:47:55 -0500 |
parents | 28830ba50687 |
children | 21f4697ef789 |
files | tests/test-histedit-fold.t |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-histedit-fold.t Tue Feb 13 18:25:05 2018 -0500 +++ b/tests/test-histedit-fold.t Tue Feb 13 18:47:55 2018 -0500 @@ -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]