Mercurial > evolve
comparison tests/test-topic.t @ 5333:028e4ea75456
topic: support foo#stack syntax
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 19 May 2020 12:25:14 +0800 |
parents | 19b8ffd23795 |
children | 5a70669beaa3 |
comparison
equal
deleted
inserted
replaced
5332:801bbfc4e2e8 | 5333:028e4ea75456 |
---|---|
908 ### target: default (branch) | 908 ### target: default (branch) |
909 s2@ 4 (current) | 909 s2@ 4 (current) |
910 ^ 3 | 910 ^ 3 |
911 s1: 0 | 911 s1: 0 |
912 | 912 |
913 $ tlog 'tip#s' | |
914 0: | |
915 4: | |
916 | |
913 $ tlog 'tip#stack[0]' | 917 $ tlog 'tip#stack[0]' |
914 $ tlog 'tip#stack[1]' | 918 $ tlog 'tip#stack[1]' |
915 0: | 919 0: |
916 $ tlog 'tip#stack[2]' | 920 $ tlog 'tip#stack[2]' |
917 4: | 921 4: |
926 s3: 3 | 930 s3: 3 |
927 s2: 2 | 931 s2: 2 |
928 s1: 1 | 932 s1: 1 |
929 s0^ 0 (base) | 933 s0^ 0 (base) |
930 | 934 |
935 $ tlog 'featureA#s' | |
936 1: featureA | |
937 2: featureA | |
938 3: featureA | |
939 | |
931 $ tlog 'featureA#s[0]' | 940 $ tlog 'featureA#s[0]' |
932 0: | 941 0: |
933 $ tlog 'featureA#s[0:0]' | 942 $ tlog 'featureA#s[0:0]' |
934 0: | 943 0: |
935 $ tlog 'featureA#s[:]' | 944 $ tlog 'featureA#s[:]' |
976 $ hg stack | 985 $ hg stack |
977 ### topic: featureB | 986 ### topic: featureB |
978 ### target: default (branch) | 987 ### target: default (branch) |
979 (stack is empty) | 988 (stack is empty) |
980 s0^ 4 (base current) | 989 s0^ 4 (base current) |
990 $ tlog 'wdir()#s' | |
981 $ tlog 'wdir()#s[0]' | 991 $ tlog 'wdir()#s[0]' |
982 4: | 992 4: |
983 | 993 |
984 $ cd .. | 994 $ cd .. |
985 | 995 |