localrepo: reuse parent manifest in commitctx if no files have changed
This speeds up the in-memory version of debugbuilddag that I'm working on considerably for the case where we want to build just a 00changelog.i (for discovery tests, for instance). There are a couple of test changes because node ids in tests have changed. The changes to the patch names in test-mq-qdelete.t were required because they could collide with nodeid abbreviations and newly actually do (patch "c" collides with id "cafe..." for patch "b").
Showing
- mercurial/localrepo.py 36 additions, 30 deletionsmercurial/localrepo.py
- tests/test-acl.t 29 additions, 29 deletionstests/test-acl.t
- tests/test-branch-tag-confict.t 2 additions, 2 deletionstests/test-branch-tag-confict.t
- tests/test-branches.t 14 additions, 14 deletionstests/test-branches.t
- tests/test-command-template.t 48 additions, 48 deletionstests/test-command-template.t
- tests/test-convert-svn-branches.t 4 additions, 4 deletionstests/test-convert-svn-branches.t
- tests/test-convert-svn-encoding.t 2 additions, 2 deletionstests/test-convert-svn-encoding.t
- tests/test-empty-group.t 4 additions, 4 deletionstests/test-empty-group.t
- tests/test-encoding.t 10 additions, 10 deletionstests/test-encoding.t
- tests/test-issue1306.t 4 additions, 4 deletionstests/test-issue1306.t
- tests/test-keyword.t 6 additions, 6 deletionstests/test-keyword.t
- tests/test-mq-qdelete.t 57 additions, 57 deletionstests/test-mq-qdelete.t
- tests/test-mq.t 2 additions, 2 deletionstests/test-mq.t
- tests/test-newbranch.t 31 additions, 31 deletionstests/test-newbranch.t
- tests/test-notify.t 5 additions, 5 deletionstests/test-notify.t
- tests/test-pull-r.t 1 addition, 1 deletiontests/test-pull-r.t
- tests/test-rebase-cache.t 11 additions, 11 deletionstests/test-rebase-cache.t
- tests/test-tag.t 1 addition, 1 deletiontests/test-tag.t
Loading
Please register or sign in to comment