Mercurial > hg
view tests/test-fastexport.t @ 46149:294d5aca4ff5
copies: iterate over children directly (instead of parents)
Before this change we would gather all parent → child edges and iterate on
all parent, gathering copy information for children and aggregating them from
there.
They are not strict requirement for edges to be processed in that specific
order. We could also simply iterate over all "children" revision and aggregate
data from both parents at the same time. This patch does that.
It make various things simpler:
* since both parents are processed at the same time, we no longer need to
cache data for merge (see next changeset for details),
* we no longer need nested loop to process data,
* we no longer need to store partial merge data for a rev from distinct loop
interaction to another when processing merges,
* we no longer need to build a full parent -> children mapping (we only rely on
a simpler "parent -> number of children" map (for memory efficiency),
* the data access pattern is now simpler (from lower revisions to higher
revisions) and entirely predicable. That predictability open the way to
prefetching and parallel processing.
So that new iterations order requires simpler code and open the way to
interesting optimisation.
The effect on performance is quite good. In the worse case, we don't see any
significant negative impact. And in the best case, the reduction of roundtrip
to Python provide us with a significant speed. Some example below:
Repo Case Source-Rev Dest-Rev # of revisions old time new time Difference Factor time per rev
---------------------------------------------------------------------------------------------------------------------------------------------------------------
mozilla-try x00000_revs_x00000_added_0_copies dc8a3ca7010e d16fde900c9c : 34414 revs, 0.962867 s, 0.502584 s, -0.460283 s, × 0.5220, 14 µs/rev
mozilla-try x0000_revs_xx000_added_x_copies 156f6e2674f2 4d0f2c178e66 : 8598 revs, 0.110717 s, 0.076323 s, -0.034394 s, × 0.6894, 8 µs/rev
# full comparison between the previous changeset and this one
Repo Case Source-Rev Dest-Rev # of revisions old time new time Difference Factor time per rev
---------------------------------------------------------------------------------------------------------------------------------------------------------------
mercurial x_revs_x_added_0_copies ad6b123de1c7 39cfcef4f463 : 1 revs, 0.000048 s, 0.000041 s, -0.000007 s, × 0.8542, 41 µs/rev
mercurial x_revs_x_added_x_copies 2b1c78674230 0c1d10351869 : 6 revs, 0.000153 s, 0.000102 s, -0.000051 s, × 0.6667, 17 µs/rev
mercurial x000_revs_x000_added_x_copies 81f8ff2a9bf2 dd3267698d84 : 1032 revs, 0.004209 s, 0.004254 s, +0.000045 s, × 1.0107, 4 µs/rev
pypy x_revs_x_added_0_copies aed021ee8ae8 099ed31b181b : 9 revs, 0.000203 s, 0.000282 s, +0.000079 s, × 1.3892, 31 µs/rev
pypy x_revs_x000_added_0_copies 4aa4e1f8e19a 359343b9ac0e : 1 revs, 0.000059 s, 0.000048 s, -0.000011 s, × 0.8136, 48 µs/rev
pypy x_revs_x_added_x_copies ac52eb7bbbb0 72e022663155 : 7 revs, 0.000194 s, 0.000211 s, +0.000017 s, × 1.0876, 30 µs/rev
pypy x_revs_x00_added_x_copies c3b14617fbd7 ace7255d9a26 : 1 revs, 0.000380 s, 0.000375 s, -0.000005 s, × 0.9868, 375 µs/rev
pypy x_revs_x000_added_x000_copies df6f7a526b60 a83dc6a2d56f : 6 revs, 0.010588 s, 0.010574 s, -0.000014 s, × 0.9987, 1762 µs/rev
pypy x000_revs_xx00_added_0_copies 89a76aede314 2f22446ff07e : 4785 revs, 0.048961 s, 0.049974 s, +0.001013 s, × 1.0207, 10 µs/rev
pypy x000_revs_x000_added_x_copies 8a3b5bfd266e 2c68e87c3efe : 6780 revs, 0.083612 s, 0.084300 s, +0.000688 s, × 1.0082, 12 µs/rev
pypy x000_revs_x000_added_x000_copies 89a76aede314 7b3dda341c84 : 5441 revs, 0.058579 s, 0.060128 s, +0.001549 s, × 1.0264, 11 µs/rev
pypy x0000_revs_x_added_0_copies d1defd0dc478 c9cb1334cc78 : 43645 revs, 0.736783 s, 0.686542 s, -0.050241 s, × 0.9318, 15 µs/rev
pypy x0000_revs_xx000_added_0_copies bf2c629d0071 4ffed77c095c : 2 revs, 0.022050 s, 0.009277 s, -0.012773 s, × 0.4207, 4638 µs/rev
pypy x0000_revs_xx000_added_x000_copies 08ea3258278e d9fa043f30c0 : 11316 revs, 0.120800 s, 0.114733 s, -0.006067 s, × 0.9498, 10 µs/rev
netbeans x_revs_x_added_0_copies fb0955ffcbcd a01e9239f9e7 : 2 revs, 0.000140 s, 0.000081 s, -0.000059 s, × 0.5786, 40 µs/rev
netbeans x_revs_x000_added_0_copies 6f360122949f 20eb231cc7d0 : 2 revs, 0.000114 s, 0.000107 s, -0.000007 s, × 0.9386, 53 µs/rev
netbeans x_revs_x_added_x_copies 1ada3faf6fb6 5a39d12eecf4 : 3 revs, 0.000224 s, 0.000173 s, -0.000051 s, × 0.7723, 57 µs/rev
netbeans x_revs_x00_added_x_copies 35be93ba1e2c 9eec5e90c05f : 9 revs, 0.000723 s, 0.000698 s, -0.000025 s, × 0.9654, 77 µs/rev
netbeans x000_revs_xx00_added_0_copies eac3045b4fdd 51d4ae7f1290 : 1421 revs, 0.009665 s, 0.009248 s, -0.000417 s, × 0.9569, 6 µs/rev
netbeans x000_revs_x000_added_x_copies e2063d266acd 6081d72689dc : 1533 revs, 0.014820 s, 0.015446 s, +0.000626 s, × 1.0422, 10 µs/rev
netbeans x000_revs_x000_added_x000_copies ff453e9fee32 411350406ec2 : 5750 revs, 0.076049 s, 0.074373 s, -0.001676 s, × 0.9780, 12 µs/rev
netbeans x0000_revs_xx000_added_x000_copies 588c2d1ced70 1aad62e59ddd : 66949 revs, 0.683603 s, 0.639870 s, -0.043733 s, × 0.9360, 9 µs/rev
mozilla-central x_revs_x_added_0_copies 3697f962bb7b 7015fcdd43a2 : 2 revs, 0.000161 s, 0.000088 s, -0.000073 s, × 0.5466, 44 µs/rev
mozilla-central x_revs_x000_added_0_copies dd390860c6c9 40d0c5bed75d : 8 revs, 0.000234 s, 0.000199 s, -0.000035 s, × 0.8504, 24 µs/rev
mozilla-central x_revs_x_added_x_copies 8d198483ae3b 14207ffc2b2f : 9 revs, 0.000247 s, 0.000171 s, -0.000076 s, × 0.6923, 19 µs/rev
mozilla-central x_revs_x00_added_x_copies 98cbc58cc6bc 446a150332c3 : 7 revs, 0.000630 s, 0.000592 s, -0.000038 s, × 0.9397, 84 µs/rev
mozilla-central x_revs_x000_added_x000_copies 3c684b4b8f68 0a5e72d1b479 : 3 revs, 0.003286 s, 0.003151 s, -0.000135 s, × 0.9589, 1050 µs/rev
mozilla-central x_revs_x0000_added_x0000_copies effb563bb7e5 c07a39dc4e80 : 6 revs, 0.062441 s, 0.061612 s, -0.000829 s, × 0.9867, 10268 µs/rev
mozilla-central x000_revs_xx00_added_0_copies 6100d773079a 04a55431795e : 1593 revs, 0.005423 s, 0.005381 s, -0.000042 s, × 0.9923, 3 µs/rev
mozilla-central x000_revs_x000_added_x_copies 9f17a6fc04f9 2d37b966abed : 41 revs, 0.005919 s, 0.003742 s, -0.002177 s, × 0.6322, 91 µs/rev
mozilla-central x000_revs_x000_added_x000_copies 7c97034feb78 4407bd0c6330 : 7839 revs, 0.062597 s, 0.061983 s, -0.000614 s, × 0.9902, 7 µs/rev
mozilla-central x0000_revs_xx000_added_0_copies 9eec5917337d 67118cc6dcad : 615 revs, 0.043551 s, 0.019861 s, -0.023690 s, × 0.4560, 32 µs/rev
mozilla-central x0000_revs_xx000_added_x000_copies f78c615a656c 96a38b690156 : 30263 revs, 0.192475 s, 0.188101 s, -0.004374 s, × 0.9773, 6 µs/rev
mozilla-central x00000_revs_x0000_added_x0000_copies 6832ae71433c 4c222a1d9a00 : 153721 revs, 1.955575 s, 1.806696 s, -0.148879 s, × 0.9239, 11 µs/rev
mozilla-central x00000_revs_x00000_added_x000_copies 76caed42cf7c 1daa622bbe42 : 204976 revs, 2.886501 s, 2.682987 s, -0.203514 s, × 0.9295, 13 µs/rev
mozilla-try x_revs_x_added_0_copies aaf6dde0deb8 9790f499805a : 2 revs, 0.001181 s, 0.000852 s, -0.000329 s, × 0.7214, 426 µs/rev
mozilla-try x_revs_x000_added_0_copies d8d0222927b4 5bb8ce8c7450 : 2 revs, 0.001189 s, 0.000859 s, -0.000330 s, × 0.7225, 429 µs/rev
mozilla-try x_revs_x_added_x_copies 092fcca11bdb 936255a0384a : 4 revs, 0.000563 s, 0.000150 s, -0.000413 s, × 0.2664, 37 µs/rev
mozilla-try x_revs_x00_added_x_copies b53d2fadbdb5 017afae788ec : 2 revs, 0.001548 s, 0.001158 s, -0.000390 s, × 0.7481, 579 µs/rev
mozilla-try x_revs_x000_added_x000_copies 20408ad61ce5 6f0ee96e21ad : 1 revs, 0.027782 s, 0.027240 s, -0.000542 s, × 0.9805, 27240 µs/rev
mozilla-try x_revs_x0000_added_x0000_copies effb563bb7e5 c07a39dc4e80 : 6 revs, 0.062781 s, 0.062824 s, +0.000043 s, × 1.0007, 10470 µs/rev
mozilla-try x000_revs_xx00_added_0_copies 6100d773079a 04a55431795e : 1593 revs, 0.005778 s, 0.005463 s, -0.000315 s, × 0.9455, 3 µs/rev
mozilla-try x000_revs_x000_added_x_copies 9f17a6fc04f9 2d37b966abed : 41 revs, 0.006192 s, 0.004238 s, -0.001954 s, × 0.6844, 103 µs/rev
mozilla-try x000_revs_x000_added_x000_copies 1346fd0130e4 4c65cbdabc1f : 6657 revs, 0.065391 s, 0.064113 s, -0.001278 s, × 0.9805, 9 µs/rev
mozilla-try x0000_revs_x_added_0_copies 63519bfd42ee a36a2a865d92 : 40314 revs, 0.317216 s, 0.294063 s, -0.023153 s, × 0.9270, 7 µs/rev
mozilla-try x0000_revs_x_added_x_copies 9fe69ff0762d bcabf2a78927 : 38690 revs, 0.303119 s, 0.281493 s, -0.021626 s, × 0.9287, 7 µs/rev
mozilla-try x0000_revs_xx000_added_x_copies 156f6e2674f2 4d0f2c178e66 : 8598 revs, 0.110717 s, 0.076323 s, -0.034394 s, × 0.6894, 8 µs/rev
mozilla-try x0000_revs_xx000_added_0_copies 9eec5917337d 67118cc6dcad : 615 revs, 0.045739 s, 0.020390 s, -0.025349 s, × 0.4458, 33 µs/rev
mozilla-try x0000_revs_xx000_added_x000_copies 89294cd501d9 7ccb2fc7ccb5 : 97052 revs, 3.098021 s, 3.023879 s, -0.074142 s, × 0.9761, 31 µs/rev
mozilla-try x0000_revs_x0000_added_x0000_copies e928c65095ed e951f4ad123a : 52031 revs, 0.771480 s, 0.735549 s, -0.035931 s, × 0.9534, 14 µs/rev
mozilla-try x00000_revs_x_added_0_copies 6a320851d377 1ebb79acd503 : 363753 revs, 18.813422 s, 18.568900 s, -0.244522 s, × 0.9870, 51 µs/rev
mozilla-try x00000_revs_x00000_added_0_copies dc8a3ca7010e d16fde900c9c : 34414 revs, 0.962867 s, 0.502584 s, -0.460283 s, × 0.5220, 14 µs/rev
mozilla-try x00000_revs_x_added_x_copies 5173c4b6f97c 95d83ee7242d : 362229 revs, 18.684923 s, 18.356645 s, -0.328278 s, × 0.9824, 50 µs/rev
mozilla-try x00000_revs_x000_added_x_copies 9126823d0e9c ca82787bb23c : 359344 revs, 18.296305 s, 18.250393 s, -0.045912 s, × 0.9975, 50 µs/rev
mozilla-try x00000_revs_x0000_added_x0000_copies 8d3fafa80d4b eb884023b810 : 192665 revs, 3.061887 s, 2.792459 s, -0.269428 s, × 0.9120, 14 µs/rev
mozilla-try x00000_revs_x00000_added_x0000_copies 1b661134e2ca 1ae03d022d6d : 228985 revs, 103.869641 s, 107.697264 s, +3.827623 s, × 1.0369, 470 µs/rev
mozilla-try x00000_revs_x00000_added_x000_copies 9b2a99adc05e 8e29777b48e6 : 382065 revs, 64.262957 s, 63.961040 s, -0.301917 s, × 0.9953, 167 µs/rev
Differential Revision: https://phab.mercurial-scm.org/D9422
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 14 Dec 2020 11:32:24 +0100 |
parents | edffab2cf0ea |
children |
line wrap: on
line source
$ cat >> $HGRCPATH << EOF > [extensions] > fastexport= > EOF $ hg init $ hg debugbuilddag -mon '+2:tbase @name1 +3:thead1 <tbase @name2 +4:thead2 @both /thead1 +2:tmaintip' $ hg up -r 10 13 files updated, 0 files merged, 0 files removed, 0 files unresolved $ hg rm nf10 $ hg commit -u debugbuilddag --date 'Thu Jan 01 02:30:12 1970 +0230' -m r12 created new head $ hg up -r 11 4 files updated, 0 files merged, 0 files removed, 0 files unresolved $ hg merge -r 12 0 files updated, 0 files merged, 1 files removed, 0 files unresolved (branch merge, don't forget to commit) $ hg commit -m debugbuilddag --date 'Thu Jan 01 00:00:13 1970 +0000' $ hg log -G @ changeset: 13:5544befcb7ce |\ branch: both | | tag: tip | | parent: 11:2cbd52c10e88 | | parent: 12:66d0c21243be | | user: test | | date: Thu Jan 01 00:00:13 1970 +0000 | | summary: debugbuilddag | | | o changeset: 12:66d0c21243be | | branch: both | | parent: 10:9220596cb068 | | user: debugbuilddag | | date: Thu Jan 01 02:30:12 1970 +0230 | | summary: r12 | | o | changeset: 11:2cbd52c10e88 |/ branch: both | tag: tmaintip | user: debugbuilddag | date: Thu Jan 01 00:00:11 1970 +0000 | summary: r11 | o changeset: 10:9220596cb068 | branch: both | user: debugbuilddag | date: Thu Jan 01 00:00:10 1970 +0000 | summary: r10 | o changeset: 9:0767d147d86e |\ branch: both | | parent: 8:0d0219415f18 | | parent: 4:e8bc3a6ab9ae | | user: debugbuilddag | | date: Thu Jan 01 00:00:09 1970 +0000 | | summary: r9 | | | o changeset: 8:0d0219415f18 | | branch: name2 | | tag: thead2 | | user: debugbuilddag | | date: Thu Jan 01 00:00:08 1970 +0000 | | summary: r8 | | | o changeset: 7:82c6c8b3ac68 | | branch: name2 | | user: debugbuilddag | | date: Thu Jan 01 00:00:07 1970 +0000 | | summary: r7 | | | o changeset: 6:94093a13175f | | branch: name2 | | user: debugbuilddag | | date: Thu Jan 01 00:00:06 1970 +0000 | | summary: r6 | | | o changeset: 5:4baee2f72e9e | | branch: name2 | | parent: 1:bf4022f1addd | | user: debugbuilddag | | date: Thu Jan 01 00:00:05 1970 +0000 | | summary: r5 | | o | changeset: 4:e8bc3a6ab9ae | | branch: name1 | | tag: thead1 | | user: debugbuilddag | | date: Thu Jan 01 00:00:04 1970 +0000 | | summary: r4 | | o | changeset: 3:46148e496a8a | | branch: name1 | | user: debugbuilddag | | date: Thu Jan 01 00:00:03 1970 +0000 | | summary: r3 | | o | changeset: 2:29863c4219cd |/ branch: name1 | user: debugbuilddag | date: Thu Jan 01 00:00:02 1970 +0000 | summary: r2 | o changeset: 1:bf4022f1addd | tag: tbase | user: debugbuilddag | date: Thu Jan 01 00:00:01 1970 +0000 | summary: r1 | o changeset: 0:ae6ae30a671b user: debugbuilddag date: Thu Jan 01 00:00:00 1970 +0000 summary: r0 $ hg fastexport --export-marks fastexport.marks blob mark :1 data 65 0 r0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 blob mark :2 data 3 r0 commit refs/heads/default mark :3 committer "debugbuilddag" <debugbuilddag> 0 +0000 data 2 r0 M 644 :1 mf M 644 :2 nf0 M 644 :2 of blob mark :4 data 68 0 r0 1 2 r1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 blob mark :5 data 3 r1 blob mark :6 data 3 r1 commit refs/heads/default mark :7 committer "debugbuilddag" <debugbuilddag> 1 +0000 data 2 r1 from :3 M 644 :4 mf M 644 :5 nf1 M 644 :6 of blob mark :8 data 71 0 r0 1 2 r1 3 4 r2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 blob mark :9 data 3 r2 blob mark :10 data 3 r2 commit refs/heads/name1 mark :11 committer "debugbuilddag" <debugbuilddag> 2 +0000 data 2 r2 from :7 M 644 :8 mf M 644 :9 nf2 M 644 :10 of blob mark :12 data 74 0 r0 1 2 r1 3 4 r2 5 6 r3 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 blob mark :13 data 3 r3 blob mark :14 data 3 r3 commit refs/heads/name1 mark :15 committer "debugbuilddag" <debugbuilddag> 3 +0000 data 2 r3 from :11 M 644 :12 mf M 644 :13 nf3 M 644 :14 of blob mark :16 data 77 0 r0 1 2 r1 3 4 r2 5 6 r3 7 8 r4 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 blob mark :17 data 3 r4 blob mark :18 data 3 r4 commit refs/heads/name1 mark :19 committer "debugbuilddag" <debugbuilddag> 4 +0000 data 2 r4 from :15 M 644 :16 mf M 644 :17 nf4 M 644 :18 of blob mark :20 data 71 0 r0 1 2 r1 3 4 5 6 7 8 9 10 r5 11 12 13 14 15 16 17 18 19 20 21 22 23 blob mark :21 data 3 r5 blob mark :22 data 3 r5 commit refs/heads/name2 mark :23 committer "debugbuilddag" <debugbuilddag> 5 +0000 data 2 r5 from :7 M 644 :20 mf M 644 :21 nf5 M 644 :22 of blob mark :24 data 74 0 r0 1 2 r1 3 4 5 6 7 8 9 10 r5 11 12 r6 13 14 15 16 17 18 19 20 21 22 23 blob mark :25 data 3 r6 blob mark :26 data 3 r6 commit refs/heads/name2 mark :27 committer "debugbuilddag" <debugbuilddag> 6 +0000 data 2 r6 from :23 M 644 :24 mf M 644 :25 nf6 M 644 :26 of blob mark :28 data 77 0 r0 1 2 r1 3 4 5 6 7 8 9 10 r5 11 12 r6 13 14 r7 15 16 17 18 19 20 21 22 23 blob mark :29 data 3 r7 blob mark :30 data 3 r7 commit refs/heads/name2 mark :31 committer "debugbuilddag" <debugbuilddag> 7 +0000 data 2 r7 from :27 M 644 :28 mf M 644 :29 nf7 M 644 :30 of blob mark :32 data 80 0 r0 1 2 r1 3 4 5 6 7 8 9 10 r5 11 12 r6 13 14 r7 15 16 r8 17 18 19 20 21 22 23 blob mark :33 data 3 r8 blob mark :34 data 3 r8 commit refs/heads/name2 mark :35 committer "debugbuilddag" <debugbuilddag> 8 +0000 data 2 r8 from :31 M 644 :32 mf M 644 :33 nf8 M 644 :34 of blob mark :36 data 92 0 r0 1 2 r1 3 4 r2 5 6 r3 7 8 r4 9 10 r5 11 12 r6 13 14 r7 15 16 r8 17 18 r9 19 20 21 22 23 blob mark :37 data 3 r9 blob mark :38 data 3 r9 commit refs/heads/both mark :39 committer "debugbuilddag" <debugbuilddag> 9 +0000 data 2 r9 from :35 merge :19 M 644 :36 mf M 644 :9 nf2 M 644 :13 nf3 M 644 :17 nf4 M 644 :37 nf9 M 644 :38 of blob mark :40 data 96 0 r0 1 2 r1 3 4 r2 5 6 r3 7 8 r4 9 10 r5 11 12 r6 13 14 r7 15 16 r8 17 18 r9 19 20 r10 21 22 23 blob mark :41 data 4 r10 blob mark :42 data 4 r10 commit refs/heads/both mark :43 committer "debugbuilddag" <debugbuilddag> 10 +0000 data 3 r10 from :39 M 644 :40 mf M 644 :41 nf10 M 644 :42 of blob mark :44 data 100 0 r0 1 2 r1 3 4 r2 5 6 r3 7 8 r4 9 10 r5 11 12 r6 13 14 r7 15 16 r8 17 18 r9 19 20 r10 21 22 r11 23 blob mark :45 data 4 r11 blob mark :46 data 4 r11 commit refs/heads/both mark :47 committer "debugbuilddag" <debugbuilddag> 11 +0000 data 3 r11 from :43 M 644 :44 mf M 644 :45 nf11 M 644 :46 of commit refs/heads/both mark :48 committer "debugbuilddag" <debugbuilddag> 12 +0230 data 3 r12 from :43 D nf10 commit refs/heads/both mark :49 committer "test" <test> 13 +0000 data 13 debugbuilddag from :47 merge :48 D nf10 $ cat fastexport.marks e1767c7564f83127d75331428473dd0512b36cc6 2c436e3f677d989438ddd9a7e5e4d56e016dfd35 ae6ae30a671be09096aaaf51217b3691eec0eee0 016f8fd6128ac4bd19ec5a6ae128dadc3873b13f a0e6fc91007068df3bc60f46ce0a893a73189b54 1a085e1daf625e186ee0064c64ff41731a901f24 bf4022f1addd28523fb1122ac6166a29da58d34c 2c45ad1c720111830380baa89a6a16cae1bef688 180506669a19f4b8317009fc6fa0043966d1ffb4 1ebc486e6a5c2c8ca7e531cf0b63dfcc071ec324 29863c4219cd68e0f57aecd5ffc12ba83313f26b d20e5eeac6991189eefad45cd8ea0f6a32ce8122 710c4580a600b8aadc63fa3d7bb0fab71b127c04 fa27314b56d7b6f90c1caeebb2a74730b3747574 46148e496a8a75fde9e203b1ded69ec99289af27 e5548c667d7eeb6c326e723c579888341329c9fe 3c1407305701051cbed9f9cb9a68bdfb5997c235 e2ed51893b0a54bd7fef5a406a0c489d668f19c3 e8bc3a6ab9aef589f5db504f401953449a3c3a10 558f3a23efc0a1a972e14d5314a65918791b77be 0dbd89c185f53a1727c54cd1ce256482fa23968e f84faeb138605b36d74324c6d0ea76a9099c3567 4baee2f72e9eeae2aef5b9e1ec416020090672ef 412c5793886eaaabb31debd36695f6215a719865 a0eafc60760d32b690564b8588ba042cc63e0c74 a53842517de32d2f926c38a170c29dc90ae3348a 94093a13175f1cfcbbfddaa0ceafbd3a89784b91 d2f0d76af0be0da17ec88190215eadb8706689ab 639939af794373d6c2ab12c2ef637cd220174389 cc8921e2b19a88147643ea825459ffa140e3d704 82c6c8b3ac6873fadd9083323b02cc6a53659130 c6cc0b14a3e6e61906242d6fce28b9510c9f9208 093593169cb4716f94e52ed7561bb84b36b7eb9d 034df75dc138e7507e061d26170b4c44321a5d92 0d0219415f18c43636163fff4160f41600951a25 f13693f6e6052eeb189521945fef56892e812fdb 1239c633b8a7a7283825dba9171bf285e5790852 34b655bd51e8573b8e85c1c1476a94d8573babef 0767d147d86e1546593bda50f1e11276c0ac8f1a 284ca43bbbe82e89c0f1d977e8ac6cfb969c05ec 15315ab9e272ec81ae8d847996e5bdecd5635b0b 78c10aaf21f49d518c7ccb8318c29abb5d4e5db7 9220596cb068dfc73e2f7e695dc8ad0858a936db 32abd0da49b7c7ee756298fc46a15584d6aedc99 33fbc651630ffa7ccbebfe4eb91320a873e7291c 868d828870663d075cdcff502d26cf8445ce068e 2cbd52c10e88ce604402dc83a869ec4f07765b3d 66d0c21243be072f82ced64aa730ab0367252451 5544befcb7ce4a558ed9e19909e16af574a2a3c6 $ hg fastexport --export-marks fastexport.marks2 -r 0 blob mark :1 data 65 0 r0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 blob mark :2 data 3 r0 commit refs/heads/default mark :3 committer "debugbuilddag" <debugbuilddag> 0 +0000 data 2 r0 M 644 :1 mf M 644 :2 nf0 M 644 :2 of $ cat fastexport.marks2 e1767c7564f83127d75331428473dd0512b36cc6 2c436e3f677d989438ddd9a7e5e4d56e016dfd35 ae6ae30a671be09096aaaf51217b3691eec0eee0 $ hg fastexport --import-marks fastexport.marks2 -r 1 blob mark :4 data 68 0 r0 1 2 r1 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 blob mark :5 data 3 r1 blob mark :6 data 3 r1 commit refs/heads/default mark :7 committer "debugbuilddag" <debugbuilddag> 1 +0000 data 2 r1 from :3 M 644 :4 mf M 644 :5 nf1 M 644 :6 of $ echo foo > of $ hg commit --user '<badname> <bad email>' --date 'Fri Jan 02 00:00:00 1970 +0000' -m 'Testcommit' $ hg fastexport --import-marks fastexport.marks -r tip blob mark :50 data 4 foo abort: Unable to parse user into person and email for revision 65a3f69b9b519de73d755472c1ab05990ab8a7f7 [255]