diff hgext/mq.py @ 14191:e1c34ce39fae

mq: don't suggest to refresh when qpushing with no applied patches
author Idan Kamara <idankk86@gmail.com>
date Wed, 04 May 2011 23:12:23 +0300
parents bf951d58b917
children 68ade2a6b30a
line wrap: on
line diff
--- a/hgext/mq.py	Wed May 04 20:14:30 2011 +0200
+++ b/hgext/mq.py	Wed May 04 23:12:23 2011 +0300
@@ -1127,7 +1127,7 @@
                 self.ui.warn(_('patch series already fully applied\n'))
                 return 1
             if not force:
-                self.check_localchanges(repo)
+                self.check_localchanges(repo, refresh=self.applied)
 
             if exact:
                 if move: