changeset 19815:378567bf9f74

mq: use the new checklocalchange in the strip command The strip command never use the `refresh` argument. So we can use the function we just extracted.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Wed, 25 Sep 2013 19:32:53 +0200
parents 4495c6a272e0
children d5ec50e8604b
files hgext/mq.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Wed Sep 25 12:43:14 2013 +0200
+++ b/hgext/mq.py	Wed Sep 25 19:32:53 2013 +0200
@@ -1102,7 +1102,7 @@
             lock = repo.lock()
 
             if update:
-                self.checklocalchanges(repo, force=force, refresh=False)
+                checklocalchanges(repo, force=force)
                 urev = self.qparents(repo, revs[0])
                 hg.clean(repo, urev)
                 repo.dirstate.write()