diff -r 27822b8436bf -r 2bc978921e8a hgext/strip.py --- 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