mercurial/phases.py
branchstable
changeset 19951 d51c4d85ec23
parent 18983 31bcc5112191
child 19984 7d5e7799a29f
equal deleted inserted replaced
19950:cce7ab960312 19951:d51c4d85ec23
   265                 nodes.symmetric_difference_update(missing)
   265                 nodes.symmetric_difference_update(missing)
   266                 filtered = True
   266                 filtered = True
   267         if filtered:
   267         if filtered:
   268             self.dirty = True
   268             self.dirty = True
   269         # filterunknown is called by repo.destroyed, we may have no changes in
   269         # filterunknown is called by repo.destroyed, we may have no changes in
   270         # root but phaserevs contents is certainly invalide (or at least we
   270         # root but phaserevs contents is certainly invalid (or at least we
   271         # have not proper way to check that. related to issue 3858.
   271         # have not proper way to check that). related to issue 3858.
   272         #
   272         #
   273         # The other caller is __init__ that have no _phaserevs initialized
   273         # The other caller is __init__ that have no _phaserevs initialized
   274         # anyway. If this change we should consider adding a dedicated
   274         # anyway. If this change we should consider adding a dedicated
   275         # "destroyed" function to phasecache or a proper cache key mechanisme
   275         # "destroyed" function to phasecache or a proper cache key mechanism
   276         # (see branchmap one)
   276         # (see branchmap one)
   277         self._phaserevs = None
   277         self._phaserevs = None
   278 
   278 
   279 def advanceboundary(repo, targetphase, nodes):
   279 def advanceboundary(repo, targetphase, nodes):
   280     """Add nodes to a phase changing other nodes phases if necessary.
   280     """Add nodes to a phase changing other nodes phases if necessary.