hgext/strip.py
changeset 45514 93a0f3ba36bb
parent 45490 0ce6af73f481
parent 45509 2bc978921e8a
child 45865 d7a508a75d72
--- a/hgext/strip.py	Wed Sep 16 19:32:53 2020 +0200
+++ b/hgext/strip.py	Mon Sep 21 15:05:38 2020 -0400
@@ -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