tests/test-debugbuilddag.t
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
Wed, 12 Apr 2017 16:34:05 +0200
changeset 32031 11a2461fc9b1
parent 25482 95f490136e75
child 38285 8d6109b49b31
permissions -rw-r--r--
upgrade: move descriptions and selection logic in individual classes Our goal here is to get top level definition for all the format variants. Having them defined outside of the function enabled other users of that logic. They are two keys components of a format variant: 1) the name and various descriptions of its effect, 2) the code that checks if the repo is using this variant and if the config enables it. That second items make us pick a class-based approach, since different variants requires different code (even if in practice, many can reuse the same logic). Each variants define its own class that is then used like a singleton. The class-based approach also clarify the definitions part a bit since each are simple assignment in an indented block. The 'fromdefault' and 'fromconfig' are respectively replaced by a class attribute and a method to be called at the one place where "fromconfig" matters. Overall, they are many viable approach for this, but this is the one I picked.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
11337
0f3c8a47960e debugbuilddag: build a changelog dag from a concise description
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
     1
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
     2
plain
11337
0f3c8a47960e debugbuilddag: build a changelog dag from a concise description
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
     3
14278
59c820a6ca79 test-debugbuilddag: replace unneeded 'rm -rf' with 'rm -r'
Martin Geisler <mg@aragost.com>
parents: 14163
diff changeset
     4
  $ hg init
14279
b039b667515d debugbuilddag: output progress information
Martin Geisler <mg@aragost.com>
parents: 14278
diff changeset
     5
  $ hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2' \
b039b667515d debugbuilddag: output progress information
Martin Geisler <mg@aragost.com>
parents: 14278
diff changeset
     6
  > --config extensions.progress= --config progress.assume-tty=1 \
b039b667515d debugbuilddag: output progress information
Martin Geisler <mg@aragost.com>
parents: 14278
diff changeset
     7
  > --config progress.delay=0 --config progress.refresh=0 \
16368
8614f8e0dd7a tests: disable progress estimate in test-debugbuilddag.t
Julien Cristau <julien.cristau@logilab.fr>
parents: 16219
diff changeset
     8
  > --config progress.format=topic,bar,number \
17743
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
     9
  > --config progress.width=60
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    10
  \r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    11
  building [                                          ]  0/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    12
  building [                                          ]  0/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    13
  building [==>                                       ]  1/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    14
  building [==>                                       ]  1/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    15
  building [======>                                   ]  2/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    16
  building [=========>                                ]  3/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    17
  building [=============>                            ]  4/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    18
  building [=============>                            ]  4/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    19
  building [=============>                            ]  4/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    20
  building [================>                         ]  5/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    21
  building [====================>                     ]  6/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    22
  building [=======================>                  ]  7/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    23
  building [===========================>              ]  8/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    24
  building [===========================>              ]  8/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    25
  building [==============================>           ]  9/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    26
  building [==================================>       ] 10/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    27
  building [=====================================>    ] 11/12\r (no-eol) (esc)
6047947afb6b tests: drop filtercr.py and use the very explicit '\r (no-eol) (esc)' markup
Mads Kiilerich <mads@kiilerich.com>
parents: 16372
diff changeset
    28
                                                              \r (no-eol) (esc)
14279
b039b667515d debugbuilddag: output progress information
Martin Geisler <mg@aragost.com>
parents: 14278
diff changeset
    29
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    30
tags
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    31
  $ cat .hg/localtags
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    32
  66f7d451a68b85ed82ff5fcc254daf50c74144bd f
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    33
  bebd167eb94d257ace0e814aeb98e6972ed2970d p2
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    34
dag
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    35
  $ hg debugdag -t -b
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    36
  +2:f
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    37
  +3:p2
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    38
  @temp*f+3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    39
  @default*/p2+2:tip
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    40
tip
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    41
  $ hg id
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    42
  000000000000
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    43
glog
20117
aa9385f983fa tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents: 17743
diff changeset
    44
  $ hg log -G --template '{rev}: {desc} [{branches}] @ {date}\n'
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    45
  o  11: r11 [] @ 11.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    46
  |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    47
  o  10: r10 [] @ 10.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    48
  |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    49
  o    9: r9 [] @ 9.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    50
  |\
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    51
  | o  8: r8 [temp] @ 8.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    52
  | |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    53
  | o  7: r7 [temp] @ 7.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    54
  | |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    55
  | o  6: r6 [temp] @ 6.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    56
  | |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    57
  | o  5: r5 [temp] @ 5.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    58
  | |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    59
  o |  4: r4 [] @ 4.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    60
  | |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    61
  o |  3: r3 [] @ 3.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    62
  | |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    63
  o |  2: r2 [] @ 2.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    64
  |/
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    65
  o  1: r1 [] @ 1.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    66
  |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    67
  o  0: r0 [] @ 0.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    68
  
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    69
16219
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
    70
overwritten files, starting on a non-default branch
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    71
14278
59c820a6ca79 test-debugbuilddag: replace unneeded 'rm -rf' with 'rm -r'
Martin Geisler <mg@aragost.com>
parents: 14163
diff changeset
    72
  $ rm -r .hg
59c820a6ca79 test-debugbuilddag: replace unneeded 'rm -rf' with 'rm -r'
Martin Geisler <mg@aragost.com>
parents: 14163
diff changeset
    73
  $ hg init
16219
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
    74
  $ hg debugbuilddag '@start.@default.:f +3:p2 @temp <f+4 @default /p2 +2' -q -o
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    75
tags
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    76
  $ cat .hg/localtags
16219
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
    77
  f778700ebd50fcf282b23a4446bd155da6453eb6 f
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
    78
  bbccf169769006e2490efd2a02f11c3d38d462bd p2
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    79
dag
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    80
  $ hg debugdag -t -b
16219
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
    81
  @start+1
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
    82
  @default+1:f
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    83
  +3:p2
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    84
  @temp*f+3
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    85
  @default*/p2+2:tip
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    86
tip
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    87
  $ hg id
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    88
  000000000000
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    89
glog
20117
aa9385f983fa tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents: 17743
diff changeset
    90
  $ hg log -G --template '{rev}: {desc} [{branches}] @ {date}\n'
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    91
  o  11: r11 [] @ 11.00
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    92
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    93
  o  10: r10 [] @ 10.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    94
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    95
  o    9: r9 [] @ 9.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    96
  |\
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    97
  | o  8: r8 [temp] @ 8.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    98
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    99
  | o  7: r7 [temp] @ 7.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   100
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   101
  | o  6: r6 [temp] @ 6.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   102
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   103
  | o  5: r5 [temp] @ 5.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   104
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   105
  o |  4: r4 [] @ 4.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   106
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   107
  o |  3: r3 [] @ 3.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   108
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   109
  o |  2: r2 [] @ 2.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   110
  |/
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   111
  o  1: r1 [] @ 1.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   112
  |
16219
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
   113
  o  0: r0 [start] @ 0.00
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   114
  
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   115
glog of
20117
aa9385f983fa tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents: 17743
diff changeset
   116
  $ hg log -G --template '{rev}: {desc} [{branches}]\n' of
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   117
  o  11: r11 []
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   118
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   119
  o  10: r10 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   120
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   121
  o    9: r9 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   122
  |\
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   123
  | o  8: r8 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   124
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   125
  | o  7: r7 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   126
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   127
  | o  6: r6 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   128
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   129
  | o  5: r5 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   130
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   131
  o |  4: r4 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   132
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   133
  o |  3: r3 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   134
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   135
  o |  2: r2 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   136
  |/
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   137
  o  1: r1 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   138
  |
16219
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
   139
  o  0: r0 [start]
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   140
  
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   141
tags
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   142
  $ hg tags -v
16219
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
   143
  tip                               11:9ffe238a67a2
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
   144
  p2                                 4:bbccf1697690 local
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
   145
  f                                  1:f778700ebd50 local
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   146
cat of
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   147
  $ hg cat of --rev tip
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   148
  r11
11337
0f3c8a47960e debugbuilddag: build a changelog dag from a concise description
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
   149
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   150
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   151
new and mergeable files
11337
0f3c8a47960e debugbuilddag: build a changelog dag from a concise description
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
   152
14278
59c820a6ca79 test-debugbuilddag: replace unneeded 'rm -rf' with 'rm -r'
Martin Geisler <mg@aragost.com>
parents: 14163
diff changeset
   153
  $ rm -r .hg
59c820a6ca79 test-debugbuilddag: replace unneeded 'rm -rf' with 'rm -r'
Martin Geisler <mg@aragost.com>
parents: 14163
diff changeset
   154
  $ hg init
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   155
  $ hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2' -q -mn
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   156
dag
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   157
  $ hg debugdag -t -b
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   158
  +2:f
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   159
  +3:p2
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   160
  @temp*f+3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   161
  @default*/p2+2:tip
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   162
tip
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   163
  $ hg id
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   164
  000000000000
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   165
glog
20117
aa9385f983fa tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents: 17743
diff changeset
   166
  $ hg log -G --template '{rev}: {desc} [{branches}] @ {date}\n'
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   167
  o  11: r11 [] @ 11.00
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   168
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   169
  o  10: r10 [] @ 10.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   170
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   171
  o    9: r9 [] @ 9.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   172
  |\
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   173
  | o  8: r8 [temp] @ 8.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   174
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   175
  | o  7: r7 [temp] @ 7.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   176
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   177
  | o  6: r6 [temp] @ 6.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   178
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   179
  | o  5: r5 [temp] @ 5.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   180
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   181
  o |  4: r4 [] @ 4.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   182
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   183
  o |  3: r3 [] @ 3.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   184
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   185
  o |  2: r2 [] @ 2.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   186
  |/
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   187
  o  1: r1 [] @ 1.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   188
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   189
  o  0: r0 [] @ 0.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   190
  
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   191
glog mf
20117
aa9385f983fa tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents: 17743
diff changeset
   192
  $ hg log -G --template '{rev}: {desc} [{branches}]\n' mf
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   193
  o  11: r11 []
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   194
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   195
  o  10: r10 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   196
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   197
  o    9: r9 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   198
  |\
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   199
  | o  8: r8 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   200
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   201
  | o  7: r7 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   202
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   203
  | o  6: r6 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   204
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   205
  | o  5: r5 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   206
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   207
  o |  4: r4 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   208
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   209
  o |  3: r3 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   210
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   211
  o |  2: r2 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   212
  |/
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   213
  o  1: r1 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   214
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   215
  o  0: r0 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   216
  
11337
0f3c8a47960e debugbuilddag: build a changelog dag from a concise description
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
   217
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   218
man r4
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   219
  $ hg manifest -r4
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   220
  mf
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   221
  nf0
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   222
  nf1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   223
  nf2
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   224
  nf3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   225
  nf4
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   226
cat r4 mf
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   227
  $ hg cat -r4 mf
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   228
  0 r0
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   229
  1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   230
  2 r1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   231
  3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   232
  4 r2
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   233
  5
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   234
  6 r3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   235
  7
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   236
  8 r4
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   237
  9
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   238
  10
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   239
  11
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   240
  12
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   241
  13
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   242
  14
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   243
  15
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   244
  16
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   245
  17
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   246
  18
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   247
  19
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   248
  20
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   249
  21
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   250
  22
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   251
  23
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   252
man r8
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   253
  $ hg manifest -r8
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   254
  mf
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   255
  nf0
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   256
  nf1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   257
  nf5
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   258
  nf6
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   259
  nf7
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   260
  nf8
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   261
cat r8 mf
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   262
  $ hg cat -r8 mf
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   263
  0 r0
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   264
  1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   265
  2 r1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   266
  3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   267
  4
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   268
  5
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   269
  6
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   270
  7
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   271
  8
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   272
  9
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   273
  10 r5
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   274
  11
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   275
  12 r6
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   276
  13
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   277
  14 r7
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   278
  15
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   279
  16 r8
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   280
  17
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   281
  18
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   282
  19
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   283
  20
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   284
  21
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   285
  22
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   286
  23
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   287
man
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   288
  $ hg manifest --rev tip
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   289
  mf
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   290
  nf0
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   291
  nf1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   292
  nf10
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   293
  nf11
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   294
  nf2
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   295
  nf3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   296
  nf4
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   297
  nf5
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   298
  nf6
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   299
  nf7
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   300
  nf8
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   301
  nf9
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   302
cat mf
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   303
  $ hg cat mf --rev tip
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   304
  0 r0
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   305
  1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   306
  2 r1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   307
  3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   308
  4 r2
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   309
  5
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   310
  6 r3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   311
  7
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   312
  8 r4
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   313
  9
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   314
  10 r5
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   315
  11
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   316
  12 r6
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   317
  13
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   318
  14 r7
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   319
  15
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   320
  16 r8
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   321
  17
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   322
  18 r9
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   323
  19
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   324
  20 r10
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   325
  21
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   326
  22 r11
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   327
  23
11337
0f3c8a47960e debugbuilddag: build a changelog dag from a concise description
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
   328
0f3c8a47960e debugbuilddag: build a changelog dag from a concise description
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
   329
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   330