[Commented On] D11160: test: use `set_traced` in `test-context`
baymax (Baymax, Your Personal Patch-care Companion)
phabricator at mercurial-scm.org
Tue Jul 20 07:26:15 UTC 2021
baymax added a comment.
baymax updated this revision to Diff 29574.
✅ refresh by Heptapod after a successful CI run (🐙 💚)
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11160?vs=29426&id=29574
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11160/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11160
AFFECTED FILES
tests/test-context.py
CHANGE DETAILS
diff --git a/tests/test-context.py b/tests/test-context.py
--- a/tests/test-context.py
+++ b/tests/test-context.py
@@ -240,7 +240,7 @@
with repo.wlock(), repo.lock(), repo.transaction(b'test'):
with open(b'4', 'wb') as f:
f.write(b'4')
- repo.dirstate.normal(b'4')
+ repo.dirstate.set_tracked(b'4')
repo.commit(b'4')
revsbefore = len(repo.changelog)
repo.invalidate(clearfilecache=True)
To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210720/4d7c3d02/attachment-0002.html>
More information about the Mercurial-patches
mailing list