Show More
@@ -191,7 +191,7 b' Create an extension to test bundle2 API' | |||
|
191 | 191 | > bundle2-exp=True |
|
192 | 192 | > [ui] |
|
193 | 193 | > ssh=python "$TESTDIR/dummyssh" |
|
194 | > logtemplate={rev}:{node|short} {phase} {author} {desc|firstline} | |
|
194 | > logtemplate={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline} | |
|
195 | 195 | > [web] |
|
196 | 196 | > push_ssl = false |
|
197 | 197 | > allow_push = * |
@@ -824,75 +824,97 b' pull empty' | |||
|
824 | 824 | o 0:cd010b8cd998 public Nicolas Dumazet <nicdumz.commits@gmail.com> A |
|
825 | 825 | |
|
826 | 826 | |
|
827 | push | |
|
827 | add extra data to test their exchange during push | |
|
828 | ||
|
829 | $ hg -R main bookmark --rev eea13746799a book_eea1 | |
|
830 | $ hg -R main bookmark --rev 02de42196ebe book_02de | |
|
831 | $ hg -R main bookmark --rev 42ccdea3bb16 book_42cc | |
|
832 | $ hg -R main bookmark --rev 5fddd98957c8 book_5fdd | |
|
833 | $ hg -R main bookmark --rev 32af7686d403 book_32af | |
|
834 | ||
|
835 | $ hg -R other bookmark --rev cd010b8cd998 book_eea1 | |
|
836 | $ hg -R other bookmark --rev cd010b8cd998 book_02de | |
|
837 | $ hg -R other bookmark --rev cd010b8cd998 book_42cc | |
|
838 | $ hg -R other bookmark --rev cd010b8cd998 book_5fdd | |
|
839 | $ hg -R other bookmark --rev cd010b8cd998 book_32af | |
|
828 | 840 | |
|
829 | 841 | $ hg -R main phase --public eea13746799a |
|
830 | $ hg -R main push other --rev eea13746799a | |
|
842 | ||
|
843 | push | |
|
844 | $ hg -R main push other --rev eea13746799a --bookmark book_eea1 | |
|
831 | 845 | pushing to other |
|
832 | 846 | searching for changes |
|
833 | 847 | remote: adding changesets |
|
834 | 848 | remote: adding manifests |
|
835 | 849 | remote: adding file changes |
|
836 | 850 | remote: added 1 changesets with 0 changes to 0 files (-1 heads) |
|
851 | updating bookmark book_eea1 | |
|
852 | exporting bookmark book_eea1 | |
|
837 | 853 |
$ |
|
838 | o 3:eea13746799a public Nicolas Dumazet <nicdumz.commits@gmail.com> G | |
|
854 | o 3:eea13746799a public Nicolas Dumazet <nicdumz.commits@gmail.com> book_eea1 G | |
|
839 | 855 | |\ |
|
840 | 856 | | o 2:24b6387c8c8c public Nicolas Dumazet <nicdumz.commits@gmail.com> F |
|
841 | 857 | | | |
|
842 | 858 | @ | 1:9520eea781bc public Nicolas Dumazet <nicdumz.commits@gmail.com> E |
|
843 | 859 | |/ |
|
844 | o 0:cd010b8cd998 public Nicolas Dumazet <nicdumz.commits@gmail.com> A | |
|
860 | o 0:cd010b8cd998 public Nicolas Dumazet <nicdumz.commits@gmail.com> book_02de book_32af book_42cc book_5fdd A | |
|
845 | 861 | |
|
846 | 862 | |
|
847 | 863 | pull over ssh |
|
848 | 864 | |
|
849 |
$ hg -R other pull ssh://user@dummy/main -r 02de42196ebe -- |
|
|
865 | $ hg -R other pull ssh://user@dummy/main -r 02de42196ebe --bookmark book_02de | |
|
850 | 866 | pulling from ssh://user@dummy/main |
|
851 | 867 | searching for changes |
|
852 | 868 | adding changesets |
|
853 | 869 | adding manifests |
|
854 | 870 | adding file changes |
|
855 | 871 | added 1 changesets with 1 changes to 1 files (+1 heads) |
|
872 | updating bookmark book_02de | |
|
856 | 873 | (run 'hg heads' to see heads, 'hg merge' to merge) |
|
874 | importing bookmark book_02de | |
|
857 | 875 | |
|
858 | 876 | pull over http |
|
859 | 877 | |
|
860 | 878 | $ hg -R main serve -p $HGPORT -d --pid-file=main.pid -E main-error.log |
|
861 | 879 | $ cat main.pid >> $DAEMON_PIDS |
|
862 | 880 | |
|
863 | $ hg -R other pull http://localhost:$HGPORT/ -r 42ccdea3bb16 | |
|
881 | $ hg -R other pull http://localhost:$HGPORT/ -r 42ccdea3bb16 --bookmark book_42cc | |
|
864 | 882 | pulling from http://localhost:$HGPORT/ |
|
865 | 883 | searching for changes |
|
866 | 884 | adding changesets |
|
867 | 885 | adding manifests |
|
868 | 886 | adding file changes |
|
869 | 887 | added 1 changesets with 1 changes to 1 files (+1 heads) |
|
888 | updating bookmark book_42cc | |
|
870 | 889 | (run 'hg heads .' to see heads, 'hg merge' to merge) |
|
890 | importing bookmark book_42cc | |
|
871 | 891 |
$ |
|
872 | 892 | |
|
873 | 893 | push over ssh |
|
874 | 894 | |
|
875 | $ hg -R main push ssh://user@dummy/other -r 5fddd98957c8 | |
|
895 | $ hg -R main push ssh://user@dummy/other -r 5fddd98957c8 --bookmark book_5fdd | |
|
876 | 896 | pushing to ssh://user@dummy/other |
|
877 | 897 | searching for changes |
|
878 | 898 | remote: adding changesets |
|
879 | 899 | remote: adding manifests |
|
880 | 900 | remote: adding file changes |
|
881 | 901 | remote: added 1 changesets with 1 changes to 1 files |
|
902 | updating bookmark book_5fdd | |
|
903 | exporting bookmark book_5fdd | |
|
882 | 904 | $ hg -R other log -G |
|
883 | o 6:5fddd98957c8 draft Nicolas Dumazet <nicdumz.commits@gmail.com> C | |
|
905 | o 6:5fddd98957c8 draft Nicolas Dumazet <nicdumz.commits@gmail.com> book_5fdd C | |
|
884 | 906 | | |
|
885 | o 5:42ccdea3bb16 draft Nicolas Dumazet <nicdumz.commits@gmail.com> B | |
|
907 | o 5:42ccdea3bb16 draft Nicolas Dumazet <nicdumz.commits@gmail.com> book_42cc B | |
|
886 | 908 | | |
|
887 | | o 4:02de42196ebe draft Nicolas Dumazet <nicdumz.commits@gmail.com> H | |
|
909 | | o 4:02de42196ebe draft Nicolas Dumazet <nicdumz.commits@gmail.com> book_02de H | |
|
888 | 910 | | | |
|
889 | | | o 3:eea13746799a public Nicolas Dumazet <nicdumz.commits@gmail.com> G | |
|
911 | | | o 3:eea13746799a public Nicolas Dumazet <nicdumz.commits@gmail.com> book_eea1 G | |
|
890 | 912 | | |/| |
|
891 | 913 | | o | 2:24b6387c8c8c public Nicolas Dumazet <nicdumz.commits@gmail.com> F |
|
892 | 914 | |/ / |
|
893 | 915 | | @ 1:9520eea781bc public Nicolas Dumazet <nicdumz.commits@gmail.com> E |
|
894 | 916 | |/ |
|
895 | o 0:cd010b8cd998 public Nicolas Dumazet <nicdumz.commits@gmail.com> A | |
|
917 | o 0:cd010b8cd998 public Nicolas Dumazet <nicdumz.commits@gmail.com> book_32af A | |
|
896 | 918 | |
|
897 | 919 | |
|
898 | 920 | push over http |
@@ -901,27 +923,29 b' push over http' | |||
|
901 | 923 | $ cat other.pid >> $DAEMON_PIDS |
|
902 | 924 | |
|
903 | 925 | $ hg -R main phase --public 32af7686d403 |
|
904 | $ hg -R main push http://localhost:$HGPORT2/ -r 32af7686d403 | |
|
926 | $ hg -R main push http://localhost:$HGPORT2/ -r 32af7686d403 --bookmark book_32af | |
|
905 | 927 | pushing to http://localhost:$HGPORT2/ |
|
906 | 928 | searching for changes |
|
907 | 929 | remote: adding changesets |
|
908 | 930 | remote: adding manifests |
|
909 | 931 | remote: adding file changes |
|
910 | 932 | remote: added 1 changesets with 1 changes to 1 files |
|
933 | updating bookmark book_32af | |
|
934 | exporting bookmark book_32af | |
|
911 | 935 | $ cat other-error.log |
|
912 | 936 | |
|
913 | 937 | Check final content. |
|
914 | 938 | |
|
915 | 939 | $ hg -R other log -G |
|
916 | o 7:32af7686d403 public Nicolas Dumazet <nicdumz.commits@gmail.com> D | |
|
940 | o 7:32af7686d403 public Nicolas Dumazet <nicdumz.commits@gmail.com> book_32af D | |
|
917 | 941 | | |
|
918 | o 6:5fddd98957c8 public Nicolas Dumazet <nicdumz.commits@gmail.com> C | |
|
942 | o 6:5fddd98957c8 public Nicolas Dumazet <nicdumz.commits@gmail.com> book_5fdd C | |
|
919 | 943 | | |
|
920 | o 5:42ccdea3bb16 public Nicolas Dumazet <nicdumz.commits@gmail.com> B | |
|
944 | o 5:42ccdea3bb16 public Nicolas Dumazet <nicdumz.commits@gmail.com> book_42cc B | |
|
921 | 945 | | |
|
922 | | o 4:02de42196ebe draft Nicolas Dumazet <nicdumz.commits@gmail.com> H | |
|
946 | | o 4:02de42196ebe draft Nicolas Dumazet <nicdumz.commits@gmail.com> book_02de H | |
|
923 | 947 | | | |
|
924 | | | o 3:eea13746799a public Nicolas Dumazet <nicdumz.commits@gmail.com> G | |
|
948 | | | o 3:eea13746799a public Nicolas Dumazet <nicdumz.commits@gmail.com> book_eea1 G | |
|
925 | 949 | | |/| |
|
926 | 950 | | o | 2:24b6387c8c8c public Nicolas Dumazet <nicdumz.commits@gmail.com> F |
|
927 | 951 | |/ / |
General Comments 0
You need to be logged in to leave comments.
Login now