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