Changeset 504 in tailor


Ignore:
Timestamp:
08/05/05 12:32:43 (8 years ago)
Author:
lele@…
Hash name:
20050805103243-97f81-45c8679bd0e51281c59a74a939f4513bc0c35e8c
Message:

If the applied hooks return False, stop the process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/source.py

    r473 r504  
    9494        for c in self.pending: 
    9595            if not self._willApplyChangeset(root, c, applyable): 
    96                 continue 
     96                break 
    9797 
    9898            if logger: 
     
    133133    def _willApplyChangeset(self, root, changeset, applyable=None): 
    134134        """ 
    135         This gets called just before applying each changeset.  The action 
    136         won't be carried out if this returns False. 
    137  
    138         Subclasses may use this to skip some changeset, or to do whatever 
    139         before application. 
     135        This gets called just before applying each changeset.  The whole 
     136        process will be stopped if this returns False. 
     137 
     138        Subclasses may use this to stop the process on some conditions, 
     139        or to do whatever before application. 
    140140        """ 
    141141 
Note: See TracChangeset for help on using the changeset viewer.