# HG changeset patch # User Pierre-Yves David # Date 2013-09-25 17:32:53 # Node ID 378567bf9f7453247a73cb669c25833f12097201 # Parent 4495c6a272e0f6283eeb51906703fff8232c0bf4 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. diff --git a/hgext/mq.py b/hgext/mq.py --- a/hgext/mq.py +++ b/hgext/mq.py @@ -1102,7 +1102,7 @@ class queue(object): 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()