mercurial/changelog.py
changeset 23280 b01c491af0cf
parent 23205 2d54aa5397cd
child 23281 f60ed8cf4afc
equal deleted inserted replaced
23279:e245775f8fd3 23280:b01c491af0cf
   268         self.index = r.index
   268         self.index = r.index
   269         self.nodemap = r.nodemap
   269         self.nodemap = r.nodemap
   270         self._nodecache = r._nodecache
   270         self._nodecache = r._nodecache
   271         self._chunkcache = r._chunkcache
   271         self._chunkcache = r._chunkcache
   272 
   272 
   273     def _writepending(self):
   273     def _writepending(self, tr):
   274         "create a file containing the unfinalized state for pretxnchangegroup"
   274         "create a file containing the unfinalized state for pretxnchangegroup"
   275         if self._delaybuf:
   275         if self._delaybuf:
   276             # make a temporary copy of the index
   276             # make a temporary copy of the index
   277             fp1 = self._realopener(self.indexfile)
   277             fp1 = self._realopener(self.indexfile)
   278             fp2 = self._realopener(self.indexfile + ".a", "w")
   278             fp2 = self._realopener(self.indexfile + ".a", "w")