Show More
@@ -1415,7 +1415,7 b' class localrepository(object):' | |||
|
1415 | 1415 | for f in drop: |
|
1416 | 1416 | del m1[f] |
|
1417 | 1417 | mn = self.manifest.add(m1, trp, linkrev, p1.manifestnode(), |
|
1418 |
p2.manifestnode(), |
|
|
1418 | p2.manifestnode(), new, drop) | |
|
1419 | 1419 | files = changed + removed |
|
1420 | 1420 | else: |
|
1421 | 1421 | mn = p1.manifestnode() |
@@ -159,11 +159,10 b' class manifest(revlog.revlog):' | |||
|
159 | 159 | f, n = l.split('\0') |
|
160 | 160 | return revlog.bin(n[:40]), n[40:-1] |
|
161 | 161 | |
|
162 |
def add(self, map, transaction, link, p1 |
|
|
163 | changed=None): | |
|
162 | def add(self, map, transaction, link, p1, p2, added, removed): | |
|
164 | 163 | # if we're using the cache, make sure it is valid and |
|
165 | 164 | # parented by the same node we're diffing against |
|
166 |
if not ( |
|
|
165 | if not (p1 and (p1 in self._mancache)): | |
|
167 | 166 | files = sorted(map) |
|
168 | 167 | _checkforbidden(files) |
|
169 | 168 | |
@@ -175,7 +174,6 b' class manifest(revlog.revlog):' | |||
|
175 | 174 | arraytext = array.array('c', text) |
|
176 | 175 | cachedelta = None |
|
177 | 176 | else: |
|
178 | added, removed = changed | |
|
179 | 177 | addlist = self._mancache[p1][1] |
|
180 | 178 | |
|
181 | 179 | _checkforbidden(added) |
General Comments 0
You need to be logged in to leave comments.
Login now