Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG0c02c2a0badb: rhg: add a test with persistent-nodemap
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
pulkit |
hg-reviewers |
No Linters Available |
No Unit Test Coverage |
Path | Packages | |||
---|---|---|---|---|
M | tests/test-rhg.t (33 lines) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
0c02c2a0badb | 88e741bf2d93 | Simon Sapin | Dec 2 2020, 2:23 AM |
Status | Author | Revision | |
---|---|---|---|
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | marmoute | ||
Closed | Alphare | ||
Closed | Alphare | ||
Closed | indygreg | ||
Closed | mharbison72 | ||
Closed | Alphare | ||
Closed | marmoute | ||
Closed | SimonSapin | ||
Closed | SimonSapin | ||
Closed | SimonSapin | ||
Closed | martinvonz |
sparserevlog | sparserevlog | ||||
store | store | ||||
indoor-pool | indoor-pool | ||||
$ echo -e '\xFF' >> .hg/requires | $ echo -e '\xFF' >> .hg/requires | ||||
$ rhg debugrequirements | $ rhg debugrequirements | ||||
abort: .hg/requires is corrupted | abort: .hg/requires is corrupted | ||||
[255] | [255] | ||||
Persistent nodemap | |||||
$ cd $TESTTMP | |||||
$ rm -rf repository | |||||
$ hg init repository | |||||
$ cd repository | |||||
$ rhg debugrequirements | grep nodemap | |||||
[1] | |||||
$ hg debugbuilddag .+5000 --overwritten-file --config "storage.revlog.nodemap.mode=warn" | |||||
$ hg id -r tip | |||||
c3ae8dec9fad tip | |||||
$ ls .hg/store/00changelog* | |||||
.hg/store/00changelog.d | |||||
.hg/store/00changelog.i | |||||
$ rhg files -r c3ae8dec9fad | |||||
of | |||||
$ cd $TESTTMP | |||||
$ rm -rf repository | |||||
$ hg --config format.use-persistent-nodemap=True init repository | |||||
$ cd repository | |||||
$ rhg debugrequirements | grep nodemap | |||||
persistent-nodemap | |||||
$ hg debugbuilddag .+5000 --overwritten-file --config "storage.revlog.nodemap.mode=warn" | |||||
$ hg id -r tip | |||||
c3ae8dec9fad tip | |||||
$ ls .hg/store/00changelog* | |||||
.hg/store/00changelog-*.nd (glob) | |||||
.hg/store/00changelog.d | |||||
.hg/store/00changelog.i | |||||
.hg/store/00changelog.n | |||||
$ rhg files -r c3ae8dec9fad | |||||
[252] |