Show More
@@ -2112,7 +2112,7 b' class revlog(object):' | |||
|
2112 | 2112 | if validatehash: |
|
2113 | 2113 | self.checkhash(rawtext, node, p1=p1, p2=p2) |
|
2114 | 2114 | |
|
2115 |
re |
|
|
2115 | rev = self.addrawrevision( | |
|
2116 | 2116 | rawtext, |
|
2117 | 2117 | transaction, |
|
2118 | 2118 | link, |
@@ -2123,6 +2123,7 b' class revlog(object):' | |||
|
2123 | 2123 | cachedelta=cachedelta, |
|
2124 | 2124 | deltacomputer=deltacomputer, |
|
2125 | 2125 | ) |
|
2126 | return node | |
|
2126 | 2127 | |
|
2127 | 2128 | def addrawrevision( |
|
2128 | 2129 | self, |
@@ -2145,7 +2146,7 b' class revlog(object):' | |||
|
2145 | 2146 | dfh = self._datafp(b"a+") |
|
2146 | 2147 | ifh = self._indexfp(b"a+") |
|
2147 | 2148 | try: |
|
2148 | self._addrevision( | |
|
2149 | return self._addrevision( | |
|
2149 | 2150 | node, |
|
2150 | 2151 | rawtext, |
|
2151 | 2152 | transaction, |
@@ -2158,7 +2159,6 b' class revlog(object):' | |||
|
2158 | 2159 | dfh, |
|
2159 | 2160 | deltacomputer=deltacomputer, |
|
2160 | 2161 | ) |
|
2161 | return node | |
|
2162 | 2162 | finally: |
|
2163 | 2163 | if dfh: |
|
2164 | 2164 | dfh.close() |
General Comments 0
You need to be logged in to leave comments.
Login now