changeset 14591:b49099712d30

mq: rename guards_dirty to guardsdirty
author Adrian Buehlmann <adrian@cadifra.com>
date Mon, 13 Jun 2011 13:43:03 +0200
parents dbb80f03d4ae
children fc94add69d9f
files hgext/mq.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/mq.py	Mon Jun 13 13:41:58 2011 +0200
+++ b/hgext/mq.py	Mon Jun 13 13:43:03 2011 +0200
@@ -274,7 +274,7 @@
         self.statuspath = "status"
         self.guardspath = "guards"
         self.activeguards = None
-        self.guards_dirty = False
+        self.guardsdirty = False
         # Handle mq.git as a bool with extended values
         try:
             gitmode = ui.configbool('mq', 'git', None)
@@ -323,7 +323,7 @@
                 delattr(self, a)
         self.applied_dirty = 0
         self.series_dirty = 0
-        self.guards_dirty = False
+        self.guardsdirty = False
         self.activeguards = None
 
     def diffopts(self, opts={}, patchfn=None):
@@ -412,7 +412,7 @@
         guards = sorted(set(guards))
         self.ui.debug('active guards: %s\n' % ' '.join(guards))
         self.activeguards = guards
-        self.guards_dirty = True
+        self.guardsdirty = True
 
     def active(self):
         if self.activeguards is None:
@@ -499,7 +499,7 @@
             write_list(map(str, self.applied), self.statuspath)
         if self.series_dirty:
             write_list(self.fullseries, self.seriespath)
-        if self.guards_dirty:
+        if self.guardsdirty:
             write_list(self.activeguards, self.guardspath)
         if self.added:
             qrepo = self.qrepo()