##// END OF EJS Templates
mq: rename guards_dirty to guardsdirty
Adrian Buehlmann -
r14591:b4909971 default
parent child Browse files
Show More
@@ -274,7 +274,7 b' class queue(object):'
274 self.statuspath = "status"
274 self.statuspath = "status"
275 self.guardspath = "guards"
275 self.guardspath = "guards"
276 self.activeguards = None
276 self.activeguards = None
277 self.guards_dirty = False
277 self.guardsdirty = False
278 # Handle mq.git as a bool with extended values
278 # Handle mq.git as a bool with extended values
279 try:
279 try:
280 gitmode = ui.configbool('mq', 'git', None)
280 gitmode = ui.configbool('mq', 'git', None)
@@ -323,7 +323,7 b' class queue(object):'
323 delattr(self, a)
323 delattr(self, a)
324 self.applied_dirty = 0
324 self.applied_dirty = 0
325 self.series_dirty = 0
325 self.series_dirty = 0
326 self.guards_dirty = False
326 self.guardsdirty = False
327 self.activeguards = None
327 self.activeguards = None
328
328
329 def diffopts(self, opts={}, patchfn=None):
329 def diffopts(self, opts={}, patchfn=None):
@@ -412,7 +412,7 b' class queue(object):'
412 guards = sorted(set(guards))
412 guards = sorted(set(guards))
413 self.ui.debug('active guards: %s\n' % ' '.join(guards))
413 self.ui.debug('active guards: %s\n' % ' '.join(guards))
414 self.activeguards = guards
414 self.activeguards = guards
415 self.guards_dirty = True
415 self.guardsdirty = True
416
416
417 def active(self):
417 def active(self):
418 if self.activeguards is None:
418 if self.activeguards is None:
@@ -499,7 +499,7 b' class queue(object):'
499 write_list(map(str, self.applied), self.statuspath)
499 write_list(map(str, self.applied), self.statuspath)
500 if self.series_dirty:
500 if self.series_dirty:
501 write_list(self.fullseries, self.seriespath)
501 write_list(self.fullseries, self.seriespath)
502 if self.guards_dirty:
502 if self.guardsdirty:
503 write_list(self.activeguards, self.guardspath)
503 write_list(self.activeguards, self.guardspath)
504 if self.added:
504 if self.added:
505 qrepo = self.qrepo()
505 qrepo = self.qrepo()
General Comments 0
You need to be logged in to leave comments. Login now