mq: rename guards_dirty to guardsdirty
authorAdrian Buehlmann <adrian@cadifra.com>
Mon, 13 Jun 2011 13:43:03 +0200
changeset 14591 b49099712d30
parent 14590 dbb80f03d4ae
child 14592 fc94add69d9f
mq: rename guards_dirty to guardsdirty
hgext/mq.py
--- 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()