--- a/mercurial/strip.py Mon Jul 22 16:49:38 2024 +0200
+++ b/mercurial/strip.py Tue Jul 23 10:02:46 2024 +0200
@@ -63,6 +63,7 @@
soft=False,
):
with repo.wlock(), repo.lock():
+
if update:
checklocalchanges(repo, force=force)
urev = _findupdatetarget(repo, revs)