Show More
@@ -334,6 +334,7 b' class cg1unpacker(object):' | |||
|
334 | 334 | deltas, |
|
335 | 335 | csmap, |
|
336 | 336 | trp, |
|
337 | alwayscache=True, | |
|
337 | 338 | addrevisioncb=onchangelog, |
|
338 | 339 | duplicaterevisioncb=ondupchangelog, |
|
339 | 340 | ): |
@@ -423,6 +423,7 b' def _processchangesetdata(repo, tr, objs' | |||
|
423 | 423 | iterrevisions(), |
|
424 | 424 | linkrev, |
|
425 | 425 | weakref.proxy(tr), |
|
426 | alwayscache=True, | |
|
426 | 427 | addrevisioncb=onchangeset, |
|
427 | 428 | duplicaterevisioncb=ondupchangeset, |
|
428 | 429 | ) |
@@ -769,7 +769,13 b' class ifilemutation(interfaceutil.Interf' | |||
|
769 | 769 | ``nullid``, in which case the header from the delta can be ignored |
|
770 | 770 | and the delta used as the fulltext. |
|
771 | 771 | |
|
772 | ``alwayscache`` instructs the lower layers to cache the content of the | |
|
773 | newly added revision, even if it needs to be explicitly computed. | |
|
774 | This used to be the default when ``addrevisioncb`` was provided up to | |
|
775 | Mercurial 5.8. | |
|
776 | ||
|
772 | 777 | ``addrevisioncb`` should be called for each node as it is committed. |
|
778 | ``duplicaterevisioncb`` should be called for each pre-existing node. | |
|
773 | 779 | |
|
774 | 780 | ``maybemissingparents`` is a bool indicating whether the incoming |
|
775 | 781 | data may reference parents/ancestor revisions that aren't present. |
@@ -1836,6 +1836,7 b' class manifestrevlog(object):' | |||
|
1836 | 1836 | deltas, |
|
1837 | 1837 | linkmapper, |
|
1838 | 1838 | transaction, |
|
1839 | alwayscache=False, | |
|
1839 | 1840 | addrevisioncb=None, |
|
1840 | 1841 | duplicaterevisioncb=None, |
|
1841 | 1842 | ): |
@@ -1843,6 +1844,7 b' class manifestrevlog(object):' | |||
|
1843 | 1844 | deltas, |
|
1844 | 1845 | linkmapper, |
|
1845 | 1846 | transaction, |
|
1847 | alwayscache=alwayscache, | |
|
1846 | 1848 | addrevisioncb=addrevisioncb, |
|
1847 | 1849 | duplicaterevisioncb=duplicaterevisioncb, |
|
1848 | 1850 | ) |
@@ -2375,6 +2375,7 b' class revlog(object):' | |||
|
2375 | 2375 | deltas, |
|
2376 | 2376 | linkmapper, |
|
2377 | 2377 | transaction, |
|
2378 | alwayscache=False, | |
|
2378 | 2379 | addrevisioncb=None, |
|
2379 | 2380 | duplicaterevisioncb=None, |
|
2380 | 2381 | ): |
@@ -2475,7 +2476,7 b' class revlog(object):' | |||
|
2475 | 2476 | (baserev, delta), |
|
2476 | 2477 | ifh, |
|
2477 | 2478 | dfh, |
|
2478 |
alwayscache= |
|
|
2479 | alwayscache=alwayscache, | |
|
2479 | 2480 | deltacomputer=deltacomputer, |
|
2480 | 2481 | ) |
|
2481 | 2482 |
General Comments 0
You need to be logged in to leave comments.
Login now