branchmap: encapsulate cache updating in the map itself
Rather than have a repository update the cache, move handling of cache updates into the branchmap module, in the form of a custom mapping class. This makes later performance improvements easier to handle too. Differential Revision: https://phab.mercurial-scm.org/D5638
Showing
- contrib/perf.py 6 additions, 1 deletioncontrib/perf.py
- mercurial/branchmap.py 75 additions, 61 deletionsmercurial/branchmap.py
- mercurial/localrepo.py 5 additions, 6 deletionsmercurial/localrepo.py
- mercurial/statichttprepo.py 2 additions, 1 deletionmercurial/statichttprepo.py
- mercurial/streamclone.py 1 addition, 2 deletionsmercurial/streamclone.py
Loading
Please register or sign in to comment