[Updated] D11149: revert: use `set_clean` instead of `normal`
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Tue Jul 20 20:38:07 UTC 2021
Closed by commit rHG61753b1ba96f: revert: use `set_clean` instead of `normal` (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/D11149?vs=29563&id=29650
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11149/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11149
AFFECTED FILES
mercurial/cmdutil.py
CHANGE DETAILS
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -3598,7 +3598,7 @@
if p2 != repo.nullid:
normal = repo.dirstate.normallookup
else:
- normal = repo.dirstate.normal
+ normal = repo.dirstate.set_clean
newlyaddedandmodifiedfiles = set()
if interactive:
@@ -3691,7 +3691,7 @@
normal = repo.dirstate.normallookup
if node == parent and p2 == repo.nullid:
- normal = repo.dirstate.normal
+ normal = repo.dirstate.set_clean
for f in actions[b'undelete'][0]:
if interactive:
choice = repo.ui.promptchoice(
To: marmoute, #hg-reviewers, Alphare, pulkit
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210720/90a84cb2/attachment-0002.html>
More information about the Mercurial-patches
mailing list