hgext/strip.py
branchstable
changeset 45509 2bc978921e8a
parent 44856 b7808443ed6a
child 45514 93a0f3ba36bb
--- a/hgext/strip.py	Fri Sep 18 12:10:12 2020 +0200
+++ b/hgext/strip.py	Fri Sep 18 12:20:28 2020 +0200
@@ -254,7 +254,7 @@
 
             # only reset the dirstate for files that would actually change
             # between the working context and uctx
-            descendantrevs = repo.revs(b"%d::.", uctx.rev())
+            descendantrevs = repo.revs(b"only(., %d)", uctx.rev())
             changedfiles = []
             for rev in descendantrevs:
                 # blindly reset the files, regardless of what actually changed