tests/test-debugbuilddag.t
changeset 14278 59c820a6ca79
parent 14163 38184a72d793
child 14279 b039b667515d
equal deleted inserted replaced
14277:4d891ed9a6af 14278:59c820a6ca79
     1   $ echo "[extensions]" >> $HGRCPATH
     1   $ echo "[extensions]" >> $HGRCPATH
     2   $ echo "graphlog=" >> $HGRCPATH
     2   $ echo "graphlog=" >> $HGRCPATH
     3 
     3 
     4 plain
     4 plain
     5 
     5 
     6   $ rm -rf repo
     6   $ hg init
     7   $ hg init repo
       
     8   $ cd repo
       
     9   $ hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2'
     7   $ hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2'
    10 tags
     8 tags
    11   $ cat .hg/localtags
     9   $ cat .hg/localtags
    12   66f7d451a68b85ed82ff5fcc254daf50c74144bd f
    10   66f7d451a68b85ed82ff5fcc254daf50c74144bd f
    13   bebd167eb94d257ace0e814aeb98e6972ed2970d p2
    11   bebd167eb94d257ace0e814aeb98e6972ed2970d p2
    47   o  0: r0 [] @ 0.00
    45   o  0: r0 [] @ 0.00
    48   
    46   
    49 
    47 
    50 overwritten files
    48 overwritten files
    51 
    49 
    52   $ rm -rf repo
    50   $ rm -r .hg
    53   $ hg init repo
    51   $ hg init
    54   $ cd repo
       
    55   $ hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2' -q -o
    52   $ hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2' -q -o
    56 tags
    53 tags
    57   $ cat .hg/localtags
    54   $ cat .hg/localtags
    58   2a8ed67d317e370eac733dccc501b12d7b9c441a f
    55   2a8ed67d317e370eac733dccc501b12d7b9c441a f
    59   4226a30965b7af58f94d0cda7e6c2c9c63e6bf90 p2
    56   4226a30965b7af58f94d0cda7e6c2c9c63e6bf90 p2
   124   p2                                 4:4226a30965b7 local
   121   p2                                 4:4226a30965b7 local
   125   f                                  1:2a8ed67d317e local
   122   f                                  1:2a8ed67d317e local
   126 cat of
   123 cat of
   127   $ hg cat of --rev tip
   124   $ hg cat of --rev tip
   128   r11
   125   r11
   129   $ cd ..
       
   130 
   126 
   131 
   127 
   132 new and mergeable files
   128 new and mergeable files
   133 
   129 
   134   $ rm -rf repo
   130   $ rm -r .hg
   135   $ hg init repo
   131   $ hg init
   136   $ cd repo
       
   137   $ hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2' -q -mn
   132   $ hg debugbuilddag '+2:f +3:p2 @temp <f+4 @default /p2 +2' -q -mn
   138 dag
   133 dag
   139   $ hg debugdag -t -b
   134   $ hg debugdag -t -b
   140   +2:f
   135   +2:f
   141   +3:p2
   136   +3:p2
   305   19
   300   19
   306   20 r10
   301   20 r10
   307   21
   302   21
   308   22 r11
   303   22 r11
   309   23
   304   23
   310   $ cd ..
   305 
   311 
   306 
   312 
   307 
   313