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