# HG changeset patch # User Adrian Buehlmann # Date 1307965383 -7200 # Node ID b49099712d30a5c5d37e60a8279dbba9bc94fca9 # Parent dbb80f03d4aed1714505eb42deab18970d68354d mq: rename guards_dirty to guardsdirty diff -r dbb80f03d4ae -r b49099712d30 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()