diff -r 22140fd783d2 -r 93a0f3ba36bb hgext/strip.py --- 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