Show More
@@ -1732,9 +1732,9 b' class revlog(object):' | |||
|
1732 | 1732 | fp.flush() |
|
1733 | 1733 | fp.close() |
|
1734 | 1734 | |
|
1735 | with self._datafp('w') as df: | |
|
1735 | with self._indexfp('r') as ifh, self._datafp('w') as dfh: | |
|
1736 | 1736 | for r in self: |
|
1737 | df.write(self._getsegmentforrevs(r, r)[1]) | |
|
1737 | dfh.write(self._getsegmentforrevs(r, r, df=ifh)[1]) | |
|
1738 | 1738 | |
|
1739 | 1739 | with self._indexfp('w') as fp: |
|
1740 | 1740 | self.version &= ~FLAG_INLINE_DATA |
General Comments 0
You need to be logged in to leave comments.
Login now