revlog: decouple caching from addrevision callback for addgroup
For changesets, it is useful to cache the content as it will almost always be processed afterwards. For manifests on the other hand, the content is often not used directly as there is a fast path for deltas. Explicitly disable the cache in exchangev2's manifest handling for that reason. Differential Revision: https://phab.mercurial-scm.org/D9847
parent
3e91d9978bec
No related branches found
No related tags found
Showing
- mercurial/changegroup.py 1 addition, 0 deletionsmercurial/changegroup.py
- mercurial/exchangev2.py 1 addition, 0 deletionsmercurial/exchangev2.py
- mercurial/interfaces/repository.py 6 additions, 0 deletionsmercurial/interfaces/repository.py
- mercurial/manifest.py 2 additions, 0 deletionsmercurial/manifest.py
- mercurial/revlog.py 2 additions, 1 deletionmercurial/revlog.py
- mercurial/unionrepo.py 1 addition, 0 deletionsmercurial/unionrepo.py
Loading
Please register or sign in to comment