equal
deleted
inserted
replaced
876 1: featureA |
876 1: featureA |
877 2: featureA |
877 2: featureA |
878 3: featureA |
878 3: featureA |
879 4: |
879 4: |
880 |
880 |
881 topic subscript relation |
|
882 |
|
883 $ tlog 'featureA' |
|
884 3: featureA |
|
885 $ tlog 'featureA#topic[0]' |
|
886 3: featureA |
|
887 |
|
888 $ tlog '2#t[-2]' |
|
889 $ tlog '2#t[-1]' |
|
890 1: featureA |
|
891 $ tlog '2#t[0]' |
|
892 2: featureA |
|
893 $ tlog '2#t[1]' |
|
894 3: featureA |
|
895 $ tlog '2#t[2]' |
|
896 |
|
897 stack subscript relation |
|
898 |
|
899 $ hg stack |
|
900 ### target: default (branch) |
|
901 s2@ 4 (current) |
|
902 ^ 3 |
|
903 s1: 0 |
|
904 |
|
905 $ tlog 'tip#stack[0]' |
|
906 $ tlog 'tip#stack[1]' |
|
907 0: |
|
908 $ tlog 'tip#stack[2]' |
|
909 4: |
|
910 $ tlog 'tip#stack[-1]' |
|
911 4: |
|
912 $ tlog 'tip#stack[-2]' |
|
913 0: |
|
914 |
|
915 $ hg stack featureA |
|
916 ### topic: featureA |
|
917 ### target: default (branch), 3 behind |
|
918 s3: 3 |
|
919 s2: 2 |
|
920 s1: 1 |
|
921 s0^ 0 (base) |
|
922 |
|
923 $ tlog 'featureA#s[0]' |
|
924 0: |
|
925 $ tlog 'featureA#s[1] and featureA#s[-3]' |
|
926 1: featureA |
|
927 $ tlog 'featureA#s[2] and featureA#s[-2]' |
|
928 2: featureA |
|
929 $ tlog 'featureA#s[3] and featureA#s[-1]' |
|
930 3: featureA |
|
931 $ tlog 'featureA#s[-4]' |
|
932 |
|
933 $ tlog 'all()#s[-1]' |
|
934 3: featureA |
|
935 4: |
|
936 $ tlog 'all()#s[0]' |
|
937 0: |
|
938 $ tlog 'all()#s[1]' |
|
939 0: |
|
940 1: featureA |
|
941 $ tlog 'all()#s[9999]' |
|
942 $ tlog 'all()#s[-9999]' |
|
943 |
|
944 $ hg topic featureB |
|
945 marked working directory as topic: featureB |
|
946 $ hg stack |
|
947 ### topic: featureB |
|
948 ### target: default (branch) |
|
949 (stack is empty) |
|
950 s0^ 4 (base current) |
|
951 $ tlog 'wdir()#s[0]' |
|
952 4: |
|
953 |
|
954 $ cd .. |
881 $ cd .. |
955 |
882 |
956 Testing the new config knob to forbid untopiced commit |
883 Testing the new config knob to forbid untopiced commit |
957 ====================================================== |
884 ====================================================== |
958 |
885 |