hgext/mq.py
changeset 40360 dee73a97e132
parent 40295 fa88170c10bb
child 41005 19178aeb9b43
equal deleted inserted replaced
40359:558114fa7bc1 40360:dee73a97e132
  3509         def mq(self):
  3509         def mq(self):
  3510             return queue(self.ui, self.baseui, self.path)
  3510             return queue(self.ui, self.baseui, self.path)
  3511 
  3511 
  3512         def invalidateall(self):
  3512         def invalidateall(self):
  3513             super(mqrepo, self).invalidateall()
  3513             super(mqrepo, self).invalidateall()
  3514             if localrepo.hasunfilteredcache(self, 'mq'):
  3514             if localrepo.hasunfilteredcache(self, r'mq'):
  3515                 # recreate mq in case queue path was changed
  3515                 # recreate mq in case queue path was changed
  3516                 delattr(self.unfiltered(), 'mq')
  3516                 delattr(self.unfiltered(), r'mq')
  3517 
  3517 
  3518         def abortifwdirpatched(self, errmsg, force=False):
  3518         def abortifwdirpatched(self, errmsg, force=False):
  3519             if self.mq.applied and self.mq.checkapplied and not force:
  3519             if self.mq.applied and self.mq.checkapplied and not force:
  3520                 parents = self.dirstate.parents()
  3520                 parents = self.dirstate.parents()
  3521                 patches = [s.node for s in self.mq.applied]
  3521                 patches = [s.node for s in self.mq.applied]