mercurial/transaction.py
changeset 45870 a6f08085edfe
parent 45869 63edc384d3b7
child 45871 a985c4fb23ca
equal deleted inserted replaced
45869:63edc384d3b7 45870:a6f08085edfe
   393                 for f in files:
   393                 for f in files:
   394                     f.discard()
   394                     f.discard()
   395         return any
   395         return any
   396 
   396 
   397     @active
   397     @active
   398     def find(self, file):
   398     def findoffset(self, file):
   399         if file in self._map:
   399         if file in self._map:
   400             return self._entries[self._map[file]]
   400             return self._entries[self._map[file]][1]
   401         if file in self._backupmap:
       
   402             return self._backupentries[self._backupmap[file]]
       
   403         return None
   401         return None
   404 
   402 
   405     @active
   403     @active
   406     def replace(self, file, offset):
   404     def replace(self, file, offset):
   407         '''
   405         '''