equal
deleted
inserted
replaced
880 |
880 |
881 Check we deny its usage on older repository |
881 Check we deny its usage on older repository |
882 |
882 |
883 $ hg init no-internal-phase --config format.internal-phase=no |
883 $ hg init no-internal-phase --config format.internal-phase=no |
884 $ cd no-internal-phase |
884 $ cd no-internal-phase |
885 $ cat .hg/requires |
885 $ hg debugrequires | grep internal-phase |
886 dotencode |
886 [1] |
887 dirstate-v2 (dirstate-v2 !) |
|
888 fncache |
|
889 generaldelta |
|
890 persistent-nodemap (rust !) |
|
891 revlog-compression-zstd (zstd !) |
|
892 revlogv1 |
|
893 sparserevlog |
|
894 store |
|
895 $ echo X > X |
887 $ echo X > X |
896 $ hg add X |
888 $ hg add X |
897 $ hg status |
889 $ hg status |
898 A X |
890 A X |
899 $ hg --config "phases.new-commit=internal" commit -m "my test internal commit" 2>&1 | grep ProgrammingError |
891 $ hg --config "phases.new-commit=internal" commit -m "my test internal commit" 2>&1 | grep ProgrammingError |
909 |
901 |
910 Check it works fine with repository that supports it. |
902 Check it works fine with repository that supports it. |
911 |
903 |
912 $ hg init internal-phase --config format.internal-phase=yes |
904 $ hg init internal-phase --config format.internal-phase=yes |
913 $ cd internal-phase |
905 $ cd internal-phase |
914 $ cat .hg/requires |
906 $ hg debugrequires | grep internal-phase |
915 dotencode |
|
916 dirstate-v2 (dirstate-v2 !) |
|
917 fncache |
|
918 generaldelta |
|
919 internal-phase |
907 internal-phase |
920 persistent-nodemap (rust !) |
|
921 revlog-compression-zstd (zstd !) |
|
922 revlogv1 |
|
923 sparserevlog |
|
924 store |
|
925 $ mkcommit A |
908 $ mkcommit A |
926 test-debug-phase: new rev 0: x -> 1 |
909 test-debug-phase: new rev 0: x -> 1 |
927 test-hook-close-phase: 4a2df7238c3b48766b5e22fafbb8a2f506ec8256: -> draft |
910 test-hook-close-phase: 4a2df7238c3b48766b5e22fafbb8a2f506ec8256: -> draft |
928 |
911 |
929 Commit an internal changesets |
912 Commit an internal changesets |