tests/test-topic-stack.t
branchstable
changeset 3411 e1f3e43a50a4
parent 3359 ae6fddf39933
child 3412 7d4347e1b1d5
equal deleted inserted replaced
3410:39112fd4d5ed 3411:e1f3e43a50a4
   263   $ echo bbb > ddd
   263   $ echo bbb > ddd
   264   $ hg commit --amend
   264   $ hg commit --amend
   265   $ hg log -G
   265   $ hg log -G
   266   @  6 default {foo} draft c_d
   266   @  6 default {foo} draft c_d
   267   |
   267   |
   268   | *  5 default {foo} draft c_f
   268   | o  5 default {foo} draft c_f
   269   | |
   269   | |
   270   | *  4 default {foo} draft c_e
   270   | o  4 default {foo} draft c_e
   271   | |
   271   | |
   272   | x  3 default {foo} draft c_d
   272   | x  3 default {foo} draft c_d
   273   |/
   273   |/
   274   o  2 default {foo} draft c_c
   274   o  2 default {foo} draft c_c
   275   |
   275   |
   404   |
   404   |
   405   o  12 default {foo} draft c_g
   405   o  12 default {foo} draft c_g
   406   |
   406   |
   407   @  11 default {foo} draft c_D
   407   @  11 default {foo} draft c_D
   408   |
   408   |
   409   | *  8 default {foo} draft c_f
   409   | o  8 default {foo} draft c_f
   410   | |
   410   | |
   411   | *  7 default {foo} draft c_e
   411   | o  7 default {foo} draft c_e
   412   | |
   412   | |
   413   | x  6 default {foo} draft c_d
   413   | x  6 default {foo} draft c_d
   414   |/
   414   |/
   415   o  2 default {foo} draft c_c
   415   o  2 default {foo} draft c_c
   416   |
   416   |
   447   |
   447   |
   448   o  12 default {foo} draft c_g
   448   o  12 default {foo} draft c_g
   449   |
   449   |
   450   @  11 default {foo} draft c_D
   450   @  11 default {foo} draft c_D
   451   |
   451   |
   452   | *  8 default {foo} draft c_f
   452   | o  8 default {foo} draft c_f
   453   | |
   453   | |
   454   | *  7 default {foo} draft c_e
   454   | o  7 default {foo} draft c_e
   455   | |
   455   | |
   456   | x  6 default {foo} draft c_d
   456   | x  6 default {foo} draft c_d
   457   |/
   457   |/
   458   o  2 default {foo} draft c_c
   458   o  2 default {foo} draft c_c
   459   |
   459   |
   488   switching to topic foobar
   488   switching to topic foobar
   489   changed topic on 2 changes
   489   changed topic on 2 changes
   490   $ hg log -G
   490   $ hg log -G
   491   @  17 default {foobar} draft c_D
   491   @  17 default {foobar} draft c_D
   492   |
   492   |
   493   | *  16 default {foobar} draft c_e
   493   | o  16 default {foobar} draft c_e
   494   | |
   494   | |
   495   | | *  15 default {foo} draft c_f
   495   | | o  15 default {foo} draft c_f
   496   | | |
   496   | | |
   497   | | x  14 default {foo} draft c_e
   497   | | x  14 default {foo} draft c_e
   498   | |/
   498   | |/
   499   | *  13 default {foo} draft c_h
   499   | o  13 default {foo} draft c_h
   500   | |
   500   | |
   501   | *  12 default {foo} draft c_g
   501   | o  12 default {foo} draft c_g
   502   | |
   502   | |
   503   | x  11 default {foo} draft c_D
   503   | x  11 default {foo} draft c_D
   504   |/
   504   |/
   505   o  2 default {foo} draft c_c
   505   o  2 default {foo} draft c_c
   506   |
   506   |
   671   $ hg commit --amend --user test2
   671   $ hg commit --amend --user test2
   672 
   672 
   673   $ hg log -G --rev 'sort(all(), "topo")'
   673   $ hg log -G --rev 'sort(all(), "topo")'
   674   @  11 default {blue} draft c_D
   674   @  11 default {blue} draft c_D
   675   |
   675   |
   676   | *  8 default {blue} draft c_I
   676   | o  8 default {blue} draft c_I
   677   | |
   677   | |
   678   | *    7 default {red} draft c_H
   678   | o    7 default {red} draft c_H
   679   | |\
   679   | |\
   680   | | *  6 default {blue} draft c_G
   680   | | o  6 default {blue} draft c_G
   681   | | |
   681   | | |
   682   | | *  5 default {red} draft c_F
   682   | | o  5 default {red} draft c_F
   683   | | |
   683   | | |
   684   | | *  4 default {red} draft c_E
   684   | | o  4 default {red} draft c_E
   685   | | |
   685   | | |
   686   | x |  3 default {blue} draft c_D
   686   | x |  3 default {blue} draft c_D
   687   |/ /
   687   |/ /
   688   x /  2 default {red} draft c_C
   688   x /  2 default {red} draft c_C
   689   |/
   689   |/
   690   | *  10 default {red} draft c_C
   690   | o  10 default {red} draft c_C
   691   |/
   691   |/
   692   x  1 default {red} draft c_B
   692   x  1 default {red} draft c_B
   693   |
   693   |
   694   | o  9 default {red} draft c_B
   694   | o  9 default {red} draft c_B
   695   |/
   695   |/
   741   $ hg commit --amend --user test3
   741   $ hg commit --amend --user test3
   742 
   742 
   743   $ hg log -G --rev 'sort(all(), "topo")'
   743   $ hg log -G --rev 'sort(all(), "topo")'
   744   @  16 default {blue} draft c_D
   744   @  16 default {blue} draft c_D
   745   |
   745   |
   746   | *  13 default {blue} draft c_G
   746   | o  13 default {blue} draft c_G
   747   | |
   747   | |
   748   | | *    12 default {red} draft c_H
   748   | | o    12 default {red} draft c_H
   749   | | |\
   749   | | |\
   750   | | | | *  8 default {blue} draft c_I
   750   | | | | o  8 default {blue} draft c_I
   751   | | | | |
   751   | | | | |
   752   | | +---x  7 default {red} draft c_H
   752   | | +---x  7 default {red} draft c_H
   753   | | | |/
   753   | | | |/
   754   | +---x  6 default {blue} draft c_G
   754   | +---x  6 default {blue} draft c_G
   755   | | |
   755   | | |
   756   | * |  5 default {red} draft c_F
   756   | o |  5 default {red} draft c_F
   757   | | |
   757   | | |
   758   | * |  4 default {red} draft c_E
   758   | o |  4 default {red} draft c_E
   759   | | |
   759   | | |
   760   +---x  3 default {blue} draft c_D
   760   +---x  3 default {blue} draft c_D
   761   | |
   761   | |
   762   x |  2 default {red} draft c_C
   762   x |  2 default {red} draft c_C
   763   |/
   763   |/
   764   | *  15 default {red} draft c_C
   764   | o  15 default {red} draft c_C
   765   |/
   765   |/
   766   x  1 default {red} draft c_B
   766   x  1 default {red} draft c_B
   767   |
   767   |
   768   | o  14 default {red} draft c_B
   768   | o  14 default {red} draft c_B
   769   |/
   769   |/