Submitter | phabricator |
---|---|
Date | April 3, 2018, 4:14 p.m. |
Message ID | <differential-rev-PHID-DREV-6i7gk22gkfb7ovh6lukp-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/30173/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/tests/test-context.py b/tests/test-context.py --- a/tests/test-context.py +++ b/tests/test-context.py @@ -52,7 +52,7 @@ data += 'bar\n' return context.memfilectx(repo, memctx, f, data, 'l' in flags, 'x' in flags) -ctxa = repo.changectx(0) +ctxa = repo[0] ctxb = context.memctx(repo, [ctxa.node(), None], "test diff", ["foo"], getfilectx, ctxa.user(), ctxa.date())