[Updated] D11442: dirstate: use `reset_state` instead of `dropfile` in test-rebuildstate.t

marmoute (Pierre-Yves David) phabricator at mercurial-scm.org
Mon Sep 20 14:08:51 UTC 2021


Closed by commit rHG44fc75bd1580: dirstate: use `reset_state` instead of `dropfile` in test-rebuildstate.t (authored by marmoute).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D11442?vs=30280&id=30323

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D11442/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D11442

AFFECTED FILES
  tests/test-rebuildstate.t

CHANGE DETAILS

diff --git a/tests/test-rebuildstate.t b/tests/test-rebuildstate.t
--- a/tests/test-rebuildstate.t
+++ b/tests/test-rebuildstate.t
@@ -25,7 +25,7 @@
   >                 possibly_dirty=True,
   >             )
   >       else:
-  >         repo.dirstate._map.dropfile(file)
+  >         repo.dirstate._map.reset_state(file)
   >         repo.dirstate._dirty = True
   > 
   >     repo.dirstate.write(repo.currenttransaction())



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/20210920/6689e718/attachment-0002.html>


More information about the Mercurial-patches mailing list