annotate tests/test-convert-datesort.t @ 22503:300e07582e9b stable

revset: add an optimised baseset.__contains__ (issue4371) The baseset class is based on a python list. This means that base.__contains__ was absolutely as crappy as list.__contains__. We now rely on __contains__ from the underlying set. This will avoid having to explicitly convert the baseset to a set (using baseset.set()) whenever one want fast membership test. Apparently there is already code that forgot to do such conversions since we observe a massive speedup in some test. revset #25: roots((0::) - (0::tip)) 0) wall 2.079454 comb 2.080000 user 2.080000 sys 0.000000 (best of 5) 1) wall 0.132970 comb 0.130000 user 0.130000 sys 0.000000 (best of 65) No regression is observed in benchmarks. This change improve the issue4371 back to acceptable situation (but are still slower than manual substraction)
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 16 Sep 2014 23:59:29 -0700
parents aa9385f983fa
children 4bb348ae43cb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6100
49c69e1e4aa2 convert: fix --datesort ordering
Patrick Mezard <pmezard@gmail.com>
parents:
diff changeset
1
12528
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
2 $ cat >> $HGRCPATH <<EOF
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
3 > [extensions]
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
4 > convert=
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
5 > EOF
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
6 $ hg init t
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
7 $ cd t
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
8 $ echo a >> a
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
9 $ hg ci -Am a0 -d '1 0'
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
10 adding a
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
11 $ hg branch brancha
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
12 marked working directory as branch brancha
15615
41885892796e branch: warn on branching
Matt Mackall <mpm@selenic.com>
parents: 12528
diff changeset
13 (branches are permanent and global, did you want a bookmark?)
12528
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
14 $ echo a >> a
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
15 $ hg ci -m a1 -d '2 0'
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
16 $ echo a >> a
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
17 $ hg ci -m a2 -d '3 0'
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
18 $ echo a >> a
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
19 $ hg ci -m a3 -d '4 0'
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
20 $ hg up -C 0
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
21 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
22 $ hg branch branchb
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
23 marked working directory as branch branchb
15615
41885892796e branch: warn on branching
Matt Mackall <mpm@selenic.com>
parents: 12528
diff changeset
24 (branches are permanent and global, did you want a bookmark?)
12528
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
25 $ echo b >> b
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
26 $ hg ci -Am b0 -d '6 0'
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
27 adding b
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
28 $ hg up -C brancha
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
29 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
30 $ echo a >> a
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
31 $ hg ci -m a4 -d '5 0'
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
32 $ echo a >> a
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
33 $ hg ci -m a5 -d '7 0'
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
34 $ echo a >> a
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
35 $ hg ci -m a6 -d '8 0'
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
36 $ hg up -C branchb
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
37 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
38 $ echo b >> b
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
39 $ hg ci -m b1 -d '9 0'
18819
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
40 $ hg up -C 0
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
41 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
42 $ echo c >> c
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
43 $ hg branch branchc
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
44 marked working directory as branch branchc
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
45 (branches are permanent and global, did you want a bookmark?)
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
46 $ hg ci -Am c0 -d '10 0'
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
47 adding c
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
48 $ hg up -C brancha
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
49 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
50 $ hg ci --close-branch -m a7x -d '11 0'
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
51 $ hg up -C branchb
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
52 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
53 $ hg ci --close-branch -m b2x -d '12 0'
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
54 $ hg up -C branchc
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
55 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
56 $ hg merge branchb
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
57 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
58 (branch merge, don't forget to commit)
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
59 $ hg ci -m c1 -d '13 0'
12528
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
60 $ cd ..
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
61
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
62 convert with datesort
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
63
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
64 $ hg convert --datesort t t-datesort
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
65 initializing destination t-datesort repository
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
66 scanning source...
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
67 sorting...
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
68 converting...
18819
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
69 12 a0
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
70 11 a1
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
71 10 a2
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
72 9 a3
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
73 8 a4
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
74 7 b0
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
75 6 a5
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
76 5 a6
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
77 4 b1
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
78 3 c0
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
79 2 a7x
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
80 1 b2x
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
81 0 c1
12528
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
82
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
83 graph converted repo
6100
49c69e1e4aa2 convert: fix --datesort ordering
Patrick Mezard <pmezard@gmail.com>
parents:
diff changeset
84
20117
aa9385f983fa tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents: 18819
diff changeset
85 $ hg -R t-datesort log -G --template '{rev} "{desc}"\n'
18819
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
86 o 12 "c1"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
87 |\
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
88 | o 11 "b2x"
12528
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
89 | |
18819
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
90 | | o 10 "a7x"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
91 | | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
92 o | | 9 "c0"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
93 | | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
94 | o | 8 "b1"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
95 | | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
96 | | o 7 "a6"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
97 | | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
98 | | o 6 "a5"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
99 | | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
100 | o | 5 "b0"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
101 |/ /
12528
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
102 | o 4 "a4"
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
103 | |
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
104 | o 3 "a3"
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
105 | |
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
106 | o 2 "a2"
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
107 | |
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
108 | o 1 "a1"
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
109 |/
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
110 o 0 "a0"
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
111
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
112
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
113 convert with datesort (default mode)
6100
49c69e1e4aa2 convert: fix --datesort ordering
Patrick Mezard <pmezard@gmail.com>
parents:
diff changeset
114
12528
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
115 $ hg convert t t-sourcesort
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
116 initializing destination t-sourcesort repository
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
117 scanning source...
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
118 sorting...
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
119 converting...
18819
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
120 12 a0
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
121 11 a1
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
122 10 a2
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
123 9 a3
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
124 8 b0
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
125 7 a4
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
126 6 a5
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
127 5 a6
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
128 4 b1
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
129 3 c0
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
130 2 a7x
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
131 1 b2x
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
132 0 c1
12528
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
133
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
134 graph converted repo
6100
49c69e1e4aa2 convert: fix --datesort ordering
Patrick Mezard <pmezard@gmail.com>
parents:
diff changeset
135
20117
aa9385f983fa tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents: 18819
diff changeset
136 $ hg -R t-sourcesort log -G --template '{rev} "{desc}"\n'
18819
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
137 o 12 "c1"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
138 |\
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
139 | o 11 "b2x"
12528
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
140 | |
18819
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
141 | | o 10 "a7x"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
142 | | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
143 o | | 9 "c0"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
144 | | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
145 | o | 8 "b1"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
146 | | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
147 | | o 7 "a6"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
148 | | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
149 | | o 6 "a5"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
150 | | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
151 | | o 5 "a4"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
152 | | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
153 | o | 4 "b0"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
154 |/ /
12528
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
155 | o 3 "a3"
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
156 | |
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
157 | o 2 "a2"
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
158 | |
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
159 | o 1 "a1"
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
160 |/
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
161 o 0 "a0"
f6b206417ba4 tests: unify test-convert-datesort
Matt Mackall <mpm@selenic.com>
parents: 8692
diff changeset
162
18819
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
163
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
164 convert with closesort
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
165
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
166 $ hg convert --closesort t t-closesort
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
167 initializing destination t-closesort repository
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
168 scanning source...
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
169 sorting...
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
170 converting...
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
171 12 a0
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
172 11 a1
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
173 10 a2
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
174 9 a3
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
175 8 b0
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
176 7 a4
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
177 6 a5
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
178 5 a6
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
179 4 a7x
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
180 3 b1
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
181 2 b2x
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
182 1 c0
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
183 0 c1
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
184
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
185 graph converted repo
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
186
20117
aa9385f983fa tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents: 18819
diff changeset
187 $ hg -R t-closesort log -G --template '{rev} "{desc}"\n'
18819
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
188 o 12 "c1"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
189 |\
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
190 | o 11 "c0"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
191 | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
192 o | 10 "b2x"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
193 | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
194 o | 9 "b1"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
195 | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
196 | | o 8 "a7x"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
197 | | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
198 | | o 7 "a6"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
199 | | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
200 | | o 6 "a5"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
201 | | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
202 | | o 5 "a4"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
203 | | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
204 o | | 4 "b0"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
205 |/ /
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
206 | o 3 "a3"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
207 | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
208 | o 2 "a2"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
209 | |
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
210 | o 1 "a1"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
211 |/
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
212 o 0 "a0"
05acdf8e1f23 convert: add closesort algorithm to mercurial sources
Constantine Linnick <theaspect@gmail.com>
parents: 15615
diff changeset
213