Show More
@@ -148,6 +148,8 b' def _persist_nodemap(tr, revlog, pending' | |||
|
148 | 148 | msg = _(b"persistent nodemap in strict mode without efficient method") |
|
149 | 149 | if mode == b'warn': |
|
150 | 150 | tr._report(b"%s\n" % msg) |
|
151 | elif mode == b'strict': | |
|
152 | raise error.Abort(msg) | |
|
151 | 153 | |
|
152 | 154 | data = None |
|
153 | 155 | # first attemp an incremental update of the data |
@@ -96,6 +96,17 b' add a new commit' | |||
|
96 | 96 | 5001 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
97 | 97 | $ echo foo > foo |
|
98 | 98 | $ hg add foo |
|
99 | ||
|
100 | #if no-pure no-rust | |
|
101 | ||
|
102 | $ hg ci -m 'foo' --config "experimental.exp-persistent-nodemap.mode=strict" | |
|
103 | transaction abort! | |
|
104 | rollback completed | |
|
105 | abort: persistent nodemap in strict mode without efficient method | |
|
106 | [255] | |
|
107 | ||
|
108 | #endif | |
|
109 | ||
|
99 | 110 | $ hg ci -m 'foo' |
|
100 | 111 | |
|
101 | 112 | #if no-pure no-rust |
General Comments 0
You need to be logged in to leave comments.
Login now