branchmap: cache open/closed branch head information
This lets us determine the open/closed state of a branch without reading from the changelog (which can be costly over NFS and/or with many branches).
Showing
- mercurial/branchmap.py 36 additions, 10 deletionsmercurial/branchmap.py
- mercurial/changelog.py 4 additions, 3 deletionsmercurial/changelog.py
- mercurial/hg.py 2 additions, 2 deletionsmercurial/hg.py
- tests/test-fncache.t 2 additions, 2 deletionstests/test-fncache.t
- tests/test-hardlinks.t 2 additions, 2 deletionstests/test-hardlinks.t
- tests/test-inherit-mode.t 2 additions, 2 deletionstests/test-inherit-mode.t
- tests/test-newbranch.t 14 additions, 14 deletionstests/test-newbranch.t
- tests/test-phases.t 15 additions, 15 deletionstests/test-phases.t
- tests/test-rebase-collapse.t 6 additions, 6 deletionstests/test-rebase-collapse.t
Loading
Please register or sign in to comment