diff -r 39e2b2d062c1 -r 493034cc3265 mercurial/strip.py --- a/mercurial/strip.py Thu Jul 18 12:03:29 2024 +0200 +++ b/mercurial/strip.py Thu Jul 18 12:36:12 2024 +0200 @@ -63,7 +63,6 @@ soft=False, ): with repo.wlock(), repo.lock(): - if update: checklocalchanges(repo, force=force) urev = _findupdatetarget(repo, revs)