Mercurial > hg-stable
changeset 40303:b8db53f786f0
tests: add missing b prefix in test-context-metadata.t
# skip-blame just a b prefix
Differential Revision: https://phab.mercurial-scm.org/D5109
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 14 Oct 2018 11:06:21 -0400 |
parents | af2306bf7d5d |
children | f6ef89cf8234 |
files | contrib/python3-whitelist tests/test-context-metadata.t |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/python3-whitelist Sun Oct 14 11:05:41 2018 -0400 +++ b/contrib/python3-whitelist Sun Oct 14 11:06:21 2018 -0400 @@ -89,6 +89,7 @@ test-config.t test-conflict.t test-confused-revert.t +test-context-metadata.t test-context.py test-contrib-check-code.t test-contrib-check-commit.t
--- a/tests/test-context-metadata.t Sun Oct 14 11:05:41 2018 -0400 +++ b/tests/test-context-metadata.t Sun Oct 14 11:06:21 2018 -0400 @@ -22,7 +22,7 @@ > with repo.wlock(), repo.lock(), repo.transaction(b'metaedit'): > old = repo[b'.'] > kwargs = dict(s.split(b'=', 1) for s in arg.split(b';')) - > if 'parents' in kwargs: + > if b'parents' in kwargs: > kwargs[b'parents'] = map(int, kwargs[b'parents'].split(b',')) > new = context.metadataonlyctx(repo, old, > **pycompat.strkwargs(kwargs))