hgext/mq.py
changeset 16657 b6081c2c4647
parent 16656 4ae3ba9e4d7a
child 16683 525fdb738975
equal deleted inserted replaced
16656:4ae3ba9e4d7a 16657:b6081c2c4647
   881         return patches
   881         return patches
   882 
   882 
   883     def finish(self, repo, revs):
   883     def finish(self, repo, revs):
   884         # Manually trigger phase computation to ensure phasedefaults is
   884         # Manually trigger phase computation to ensure phasedefaults is
   885         # executed before we remove the patches.
   885         # executed before we remove the patches.
   886         repo._phaserev
   886         repo._phasecache
   887         patches = self._revpatches(repo, sorted(revs))
   887         patches = self._revpatches(repo, sorted(revs))
   888         qfinished = self._cleanup(patches, len(patches))
   888         qfinished = self._cleanup(patches, len(patches))
   889         if qfinished and repo.ui.configbool('mq', 'secret', False):
   889         if qfinished and repo.ui.configbool('mq', 'secret', False):
   890             # only use this logic when the secret option is added
   890             # only use this logic when the secret option is added
   891             oldqbase = repo[qfinished[0]]
   891             oldqbase = repo[qfinished[0]]