equal
deleted
inserted
replaced
857 1: featureA |
857 1: featureA |
858 2: featureA |
858 2: featureA |
859 3: featureA |
859 3: featureA |
860 4: |
860 4: |
861 |
861 |
862 topic subscript relation |
|
863 |
|
864 $ tlog 'featureA' |
|
865 3: featureA |
|
866 $ tlog 'featureA#topic[0]' |
|
867 3: featureA |
|
868 |
|
869 $ tlog '2#t[-2]' |
|
870 $ tlog '2#t[-1]' |
|
871 1: featureA |
|
872 $ tlog '2#t[0]' |
|
873 2: featureA |
|
874 $ tlog '2#t[1]' |
|
875 3: featureA |
|
876 $ tlog '2#t[2]' |
|
877 |
|
878 stack subscript relation |
|
879 |
|
880 $ hg stack |
|
881 ### target: default (branch) |
|
882 s2@ 4 (current) |
|
883 ^ 3 |
|
884 s1: 0 |
|
885 |
|
886 $ tlog 'tip#stack[0]' |
|
887 $ tlog 'tip#stack[1]' |
|
888 0: |
|
889 $ tlog 'tip#stack[2]' |
|
890 4: |
|
891 $ tlog 'tip#stack[-1]' |
|
892 4: |
|
893 $ tlog 'tip#stack[-2]' |
|
894 0: |
|
895 |
|
896 $ hg stack featureA |
|
897 ### topic: featureA |
|
898 ### target: default (branch), 3 behind |
|
899 s3: 3 |
|
900 s2: 2 |
|
901 s1: 1 |
|
902 s0^ 0 (base) |
|
903 |
|
904 $ tlog 'featureA#s[0]' |
|
905 0: |
|
906 $ tlog 'featureA#s[1] and featureA#s[-3]' |
|
907 1: featureA |
|
908 $ tlog 'featureA#s[2] and featureA#s[-2]' |
|
909 2: featureA |
|
910 $ tlog 'featureA#s[3] and featureA#s[-1]' |
|
911 3: featureA |
|
912 $ tlog 'featureA#s[-4]' |
|
913 |
|
914 $ tlog 'all()#s[-1]' |
|
915 3: featureA |
|
916 4: |
|
917 $ tlog 'all()#s[0]' |
|
918 0: |
|
919 $ tlog 'all()#s[1]' |
|
920 0: |
|
921 1: featureA |
|
922 $ tlog 'all()#s[9999]' |
|
923 $ tlog 'all()#s[-9999]' |
|
924 |
|
925 $ hg topic featureB |
|
926 marked working directory as topic: featureB |
|
927 $ hg stack |
|
928 ### topic: featureB |
|
929 ### target: default (branch) |
|
930 (stack is empty) |
|
931 s0^ 4 (base current) |
|
932 $ tlog 'wdir()#s[0]' |
|
933 4: |
|
934 |
|
935 $ cd .. |
862 $ cd .. |
936 |
863 |
937 Testing the new config knob to forbid untopiced commit |
864 Testing the new config knob to forbid untopiced commit |
938 ====================================================== |
865 ====================================================== |
939 |
866 |