tests/test-debugbuilddag.t
author FUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Thu, 07 May 2015 12:07:10 +0900
changeset 24994 713b09fc9fbb
parent 20117 aa9385f983fa
child 25482 95f490136e75
permissions -rw-r--r--
import: use dirstateguard instead of dirstate.invalidate Before this patch, "commands.import()" uses "dirstate.invalidate()" as a kind of "restore .hg/dirstate to the original status" during a failure. But it just discards changes in memory, and doesn't actually restore ".hg/dirstate". Then, it can't work as expected, if "dirstate.write()" is executed while processing. This patch uses "dirstateguard" instead of "dirstate.invalidate()" to restore ".hg/dirstate" at failure even if "dirstate.write()" is executed before failure. This patch also removes "beginparentchage()" and "endparentchange()", because "dirstateguard" makes them useless, too. This is a part of preparations to fix the issue that the recent (in memory) dirstate isn't visible to external process (e.g. "precommit" hook).
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 [                                          ]  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
    14
  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
    15
  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
    16
  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
    17
  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
    18
  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
    19
  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
    20
  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
    21
  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
    22
  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
    23
  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
    24
  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
    25
  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
    26
  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
    27
  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
    28
  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
    29
  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
    30
  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
    31
  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
    32
  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
    33
  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
    34
  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
    35
  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
    36
  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
    37
  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
    38
  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
    39
  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
    40
  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
    41
  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
    42
  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
    43
  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
    44
  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
    45
                                                              \r (no-eol) (esc)
14279
b039b667515d debugbuilddag: output progress information
Martin Geisler <mg@aragost.com>
parents: 14278
diff changeset
    46
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    47
tags
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    48
  $ cat .hg/localtags
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    49
  66f7d451a68b85ed82ff5fcc254daf50c74144bd f
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    50
  bebd167eb94d257ace0e814aeb98e6972ed2970d p2
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    51
dag
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    52
  $ hg debugdag -t -b
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    53
  +2:f
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    54
  +3:p2
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    55
  @temp*f+3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    56
  @default*/p2+2:tip
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    57
tip
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    58
  $ hg id
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    59
  000000000000
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
    60
glog
20117
aa9385f983fa tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents: 17743
diff changeset
    61
  $ 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
    62
  o  11: r11 [] @ 11.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    63
  |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    64
  o  10: r10 [] @ 10.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    65
  |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    66
  o    9: r9 [] @ 9.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    67
  |\
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    68
  | o  8: r8 [temp] @ 8.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    69
  | |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    70
  | o  7: r7 [temp] @ 7.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    71
  | |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    72
  | o  6: r6 [temp] @ 6.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    73
  | |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    74
  | o  5: r5 [temp] @ 5.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    75
  | |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    76
  o |  4: r4 [] @ 4.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    77
  | |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    78
  o |  3: r3 [] @ 3.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    79
  | |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    80
  o |  2: r2 [] @ 2.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    81
  |/
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    82
  o  1: r1 [] @ 1.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    83
  |
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    84
  o  0: r0 [] @ 0.00
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    85
  
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    86
16219
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
    87
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
    88
14278
59c820a6ca79 test-debugbuilddag: replace unneeded 'rm -rf' with 'rm -r'
Martin Geisler <mg@aragost.com>
parents: 14163
diff changeset
    89
  $ rm -r .hg
59c820a6ca79 test-debugbuilddag: replace unneeded 'rm -rf' with 'rm -r'
Martin Geisler <mg@aragost.com>
parents: 14163
diff changeset
    90
  $ hg init
16219
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
    91
  $ 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
    92
tags
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    93
  $ 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
    94
  f778700ebd50fcf282b23a4446bd155da6453eb6 f
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
    95
  bbccf169769006e2490efd2a02f11c3d38d462bd p2
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    96
dag
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
    97
  $ 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
    98
  @start+1
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
    99
  @default+1:f
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   100
  +3:p2
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   101
  @temp*f+3
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   102
  @default*/p2+2:tip
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   103
tip
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   104
  $ hg id
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   105
  000000000000
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   106
glog
20117
aa9385f983fa tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents: 17743
diff changeset
   107
  $ 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
   108
  o  11: r11 [] @ 11.00
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   109
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   110
  o  10: r10 [] @ 10.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   111
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   112
  o    9: r9 [] @ 9.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   113
  |\
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   114
  | o  8: r8 [temp] @ 8.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   115
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   116
  | o  7: r7 [temp] @ 7.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   117
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   118
  | o  6: r6 [temp] @ 6.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   119
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   120
  | o  5: r5 [temp] @ 5.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   121
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   122
  o |  4: r4 [] @ 4.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   123
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   124
  o |  3: r3 [] @ 3.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   125
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   126
  o |  2: r2 [] @ 2.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   127
  |/
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   128
  o  1: r1 [] @ 1.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   129
  |
16219
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
   130
  o  0: r0 [start] @ 0.00
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   131
  
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   132
glog of
20117
aa9385f983fa tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents: 17743
diff changeset
   133
  $ 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
   134
  o  11: r11 []
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   135
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   136
  o  10: r10 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   137
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   138
  o    9: r9 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   139
  |\
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   140
  | o  8: r8 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   141
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   142
  | o  7: r7 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   143
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   144
  | o  6: r6 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   145
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   146
  | o  5: r5 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   147
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   148
  o |  4: r4 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   149
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   150
  o |  3: r3 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   151
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   152
  o |  2: r2 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   153
  |/
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   154
  o  1: r1 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   155
  |
16219
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
   156
  o  0: r0 [start]
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   157
  
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   158
tags
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   159
  $ 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
   160
  tip                               11:9ffe238a67a2
28c5648771d1 debugbuilddag: fix starting a dag on a non-default branch
Wagner Bruna <wbruna@softwareexpress.com.br>
parents: 14279
diff changeset
   161
  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
   162
  f                                  1:f778700ebd50 local
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   163
cat of
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   164
  $ hg cat of --rev tip
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   165
  r11
11337
0f3c8a47960e debugbuilddag: build a changelog dag from a concise description
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
   166
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   167
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   168
new and mergeable files
11337
0f3c8a47960e debugbuilddag: build a changelog dag from a concise description
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
   169
14278
59c820a6ca79 test-debugbuilddag: replace unneeded 'rm -rf' with 'rm -r'
Martin Geisler <mg@aragost.com>
parents: 14163
diff changeset
   170
  $ rm -r .hg
59c820a6ca79 test-debugbuilddag: replace unneeded 'rm -rf' with 'rm -r'
Martin Geisler <mg@aragost.com>
parents: 14163
diff changeset
   171
  $ hg init
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   172
  $ 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
   173
dag
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   174
  $ hg debugdag -t -b
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   175
  +2:f
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   176
  +3:p2
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   177
  @temp*f+3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   178
  @default*/p2+2:tip
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   179
tip
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   180
  $ hg id
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   181
  000000000000
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   182
glog
20117
aa9385f983fa tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents: 17743
diff changeset
   183
  $ 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
   184
  o  11: r11 [] @ 11.00
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   185
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   186
  o  10: r10 [] @ 10.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   187
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   188
  o    9: r9 [] @ 9.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   189
  |\
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   190
  | o  8: r8 [temp] @ 8.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   191
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   192
  | o  7: r7 [temp] @ 7.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   193
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   194
  | o  6: r6 [temp] @ 6.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   195
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   196
  | o  5: r5 [temp] @ 5.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   197
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   198
  o |  4: r4 [] @ 4.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   199
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   200
  o |  3: r3 [] @ 3.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   201
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   202
  o |  2: r2 [] @ 2.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   203
  |/
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   204
  o  1: r1 [] @ 1.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   205
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   206
  o  0: r0 [] @ 0.00
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   207
  
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   208
glog mf
20117
aa9385f983fa tests: don't load unnecessary graphlog extension
Martin Geisler <martin@geisler.net>
parents: 17743
diff changeset
   209
  $ 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
   210
  o  11: r11 []
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   211
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   212
  o  10: r10 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   213
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   214
  o    9: r9 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   215
  |\
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   216
  | o  8: r8 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   217
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   218
  | o  7: r7 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   219
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   220
  | o  6: r6 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   221
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   222
  | o  5: r5 [temp]
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   223
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   224
  o |  4: r4 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   225
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   226
  o |  3: r3 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   227
  | |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   228
  o |  2: r2 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   229
  |/
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   230
  o  1: r1 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   231
  |
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   232
  o  0: r0 []
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   233
  
11337
0f3c8a47960e debugbuilddag: build a changelog dag from a concise description
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
   234
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   235
man r4
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   236
  $ hg manifest -r4
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   237
  mf
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   238
  nf0
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   239
  nf1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   240
  nf2
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   241
  nf3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   242
  nf4
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   243
cat r4 mf
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   244
  $ hg cat -r4 mf
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   245
  0 r0
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   246
  1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   247
  2 r1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   248
  3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   249
  4 r2
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   250
  5
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   251
  6 r3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   252
  7
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   253
  8 r4
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   254
  9
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   255
  10
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   256
  11
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   257
  12
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   258
  13
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   259
  14
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   260
  15
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   261
  16
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   262
  17
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   263
  18
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   264
  19
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   265
  20
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   266
  21
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   267
  22
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   268
  23
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   269
man r8
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   270
  $ hg manifest -r8
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   271
  mf
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   272
  nf0
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   273
  nf1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   274
  nf5
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   275
  nf6
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   276
  nf7
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   277
  nf8
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   278
cat r8 mf
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   279
  $ hg cat -r8 mf
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   280
  0 r0
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   281
  1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   282
  2 r1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   283
  3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   284
  4
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   285
  5
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   286
  6
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   287
  7
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   288
  8
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   289
  9
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   290
  10 r5
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   291
  11
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   292
  12 r6
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   293
  13
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   294
  14 r7
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   295
  15
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   296
  16 r8
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   297
  17
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   298
  18
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   299
  19
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   300
  20
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   301
  21
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   302
  22
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   303
  23
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   304
man
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   305
  $ hg manifest --rev tip
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   306
  mf
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   307
  nf0
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   308
  nf1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   309
  nf10
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   310
  nf11
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   311
  nf2
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   312
  nf3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   313
  nf4
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   314
  nf5
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   315
  nf6
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   316
  nf7
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   317
  nf8
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   318
  nf9
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   319
cat mf
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   320
  $ hg cat mf --rev tip
11922
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   321
  0 r0
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   322
  1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   323
  2 r1
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   324
  3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   325
  4 r2
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   326
  5
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   327
  6 r3
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   328
  7
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   329
  8 r4
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   330
  9
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   331
  10 r5
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   332
  11
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   333
  12 r6
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   334
  13
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   335
  14 r7
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   336
  15
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   337
  16 r8
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   338
  17
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   339
  18 r9
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   340
  19
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   341
  20 r10
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   342
  21
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   343
  22 r11
3e59059b2785 tests: unify test-debugbuilddag
Pradeepkumar Gayam <in3xes@gmail.com>
parents: 11686
diff changeset
   344
  23
11337
0f3c8a47960e debugbuilddag: build a changelog dag from a concise description
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
   345
0f3c8a47960e debugbuilddag: build a changelog dag from a concise description
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents:
diff changeset
   346
14163
38184a72d793 debugbuilddag: use memctx for speed
Peter Arrenbrecht <peter.arrenbrecht@gmail.com>
parents: 14042
diff changeset
   347