Changeset 505 in tailor
- Timestamp:
- 08/05/05 12:33:39 (8 years ago)
- Hash name:
- 20050805103339-97f81-99d307e096953caf32096545b76a5ccce0594e73
- File:
-
- 1 edited
-
vcpx/source.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/source.py
r504 r505 68 68 69 69 def applyPendingChangesets(self, root, module, applyable=None, 70 replay =None, applied=None, logger=None,71 delayed_commit=False):70 replayable=None, replay=None, applied=None, 71 logger=None, delayed_commit=False): 72 72 """ 73 73 Apply the collected upstream changes. … … 116 116 return last, conflicts 117 117 118 if not self._didApplyChangeset(root, c, replayable): 119 continue 120 118 121 if replay: 119 122 replay(root, module, c, delayed_commit=delayed_commit, … … 142 145 if applyable: 143 146 return applyable(root, changeset) 147 else: 148 return True 149 150 def _didApplyChangeset(self, root, changeset, replayable=None): 151 """ 152 This gets called right after changeset application. The final 153 commit on the target system won't be carried out if this 154 returns False. 155 156 Subclasses may use this to alter the changeset in any way, before 157 committing its changes to the target system. 158 """ 159 160 if replayable: 161 return replayable(root, changeset) 144 162 else: 145 163 return True
Note: See TracChangeset
for help on using the changeset viewer.
