##// END OF EJS Templates
transaction: document `tr.add`
Pierre-Yves David -
r23252:70809438 default
parent child Browse files
Show More
@@ -142,6 +142,7 b' class transaction(object):'
142
142
143 @active
143 @active
144 def add(self, file, offset, data=None):
144 def add(self, file, offset, data=None):
145 """record the state of an append-only file before update"""
145 if file in self.map or file in self._backupmap:
146 if file in self.map or file in self._backupmap:
146 return
147 return
147 if self._queue:
148 if self._queue:
General Comments 0
You need to be logged in to leave comments. Login now