Show More
@@ -317,3 +317,39 b' An up to date nodemap should be availabl' | |||||
317 | data-unused: 192 (pure !) |
|
317 | data-unused: 192 (pure !) | |
318 | data-unused: 192 (rust !) |
|
318 | data-unused: 192 (rust !) | |
319 | data-unused: 0 (no-pure no-rust !) |
|
319 | data-unused: 0 (no-pure no-rust !) | |
|
320 | ||||
|
321 | Another process does not see the pending nodemap content during run. | |||
|
322 | ||||
|
323 | $ PATH=$RUNTESTDIR/testlib/:$PATH | |||
|
324 | $ echo qpoasp > a | |||
|
325 | $ hg ci -m a2 \ | |||
|
326 | > --config "hooks.pretxnclose=wait-on-file 20 sync-repo-read sync-txn-pending" \ | |||
|
327 | > --config "hooks.txnclose=touch sync-txn-close" > output.txt 2>&1 & | |||
|
328 | ||||
|
329 | (read the repository while the commit transaction is pending) | |||
|
330 | ||||
|
331 | $ wait-on-file 20 sync-txn-pending && \ | |||
|
332 | > hg debugnodemap --metadata && \ | |||
|
333 | > wait-on-file 20 sync-txn-close sync-repo-read | |||
|
334 | uid: ???????????????? (glob) | |||
|
335 | tip-rev: 5004 | |||
|
336 | tip-node: ba87cd9559559e4b91b28cb140d003985315e031 | |||
|
337 | data-length: 123328 (pure !) | |||
|
338 | data-length: 123328 (rust !) | |||
|
339 | data-length: 123136 (no-pure no-rust !) | |||
|
340 | data-unused: 192 (pure !) | |||
|
341 | data-unused: 192 (rust !) | |||
|
342 | data-unused: 0 (no-pure no-rust !) | |||
|
343 | $ hg debugnodemap --metadata | |||
|
344 | uid: ???????????????? (glob) | |||
|
345 | tip-rev: 5005 | |||
|
346 | tip-node: bae4d45c759e30f1cb1a40e1382cf0e0414154db | |||
|
347 | data-length: 123584 (pure !) | |||
|
348 | data-length: 123584 (rust !) | |||
|
349 | data-length: 123136 (no-pure no-rust !) | |||
|
350 | data-unused: 448 (pure !) | |||
|
351 | data-unused: 448 (rust !) | |||
|
352 | data-unused: 0 (no-pure no-rust !) | |||
|
353 | ||||
|
354 | $ cat output.txt | |||
|
355 |
General Comments 0
You need to be logged in to leave comments.
Login now