789 adding manifests |
789 adding manifests |
790 adding file changes |
790 adding file changes |
791 added 1 changesets with 1 changes to 1 files (+1 heads) |
791 added 1 changesets with 1 changes to 1 files (+1 heads) |
792 (run 'hg heads' to see heads, 'hg merge' to merge) |
792 (run 'hg heads' to see heads, 'hg merge' to merge) |
793 $ hg -R other log -G |
793 $ hg -R other log -G |
794 o 2:24b6387c8c8c draft Nicolas Dumazet <nicdumz.commits@gmail.com> F |
794 o 2:24b6387c8c8c draft Nicolas Dumazet <nicdumz.commits@gmail.com> F |
795 | |
795 | |
796 | @ 1:9520eea781bc draft Nicolas Dumazet <nicdumz.commits@gmail.com> E |
796 | @ 1:9520eea781bc draft Nicolas Dumazet <nicdumz.commits@gmail.com> E |
797 |/ |
797 |/ |
798 o 0:cd010b8cd998 public Nicolas Dumazet <nicdumz.commits@gmail.com> A |
798 o 0:cd010b8cd998 public Nicolas Dumazet <nicdumz.commits@gmail.com> A |
799 |
799 |
800 |
800 |
801 pull empty (with phase movement) |
801 pull empty (with phase movement) |
802 |
802 |
803 $ hg -R main phase --public 24b6387c8c8c |
803 $ hg -R main phase --public 24b6387c8c8c |
804 $ hg -R other pull -r 24b6387c8c8c |
804 $ hg -R other pull -r 24b6387c8c8c |
805 pulling from $TESTTMP/main (glob) |
805 pulling from $TESTTMP/main (glob) |
806 no changes found |
806 no changes found |
807 $ hg -R other log -G |
807 $ hg -R other log -G |
808 o 2:24b6387c8c8c public Nicolas Dumazet <nicdumz.commits@gmail.com> F |
808 o 2:24b6387c8c8c public Nicolas Dumazet <nicdumz.commits@gmail.com> F |
809 | |
809 | |
810 | @ 1:9520eea781bc draft Nicolas Dumazet <nicdumz.commits@gmail.com> E |
810 | @ 1:9520eea781bc draft Nicolas Dumazet <nicdumz.commits@gmail.com> E |
811 |/ |
811 |/ |
812 o 0:cd010b8cd998 public Nicolas Dumazet <nicdumz.commits@gmail.com> A |
812 o 0:cd010b8cd998 public Nicolas Dumazet <nicdumz.commits@gmail.com> A |
813 |
813 |
814 pull empty |
814 pull empty |
815 |
815 |
816 $ hg -R other pull -r 24b6387c8c8c |
816 $ hg -R other pull -r 24b6387c8c8c |
817 pulling from $TESTTMP/main (glob) |
817 pulling from $TESTTMP/main (glob) |
818 no changes found |
818 no changes found |
819 $ hg -R other log -G |
819 $ hg -R other log -G |
820 o 2:24b6387c8c8c public Nicolas Dumazet <nicdumz.commits@gmail.com> F |
820 o 2:24b6387c8c8c public Nicolas Dumazet <nicdumz.commits@gmail.com> F |
821 | |
821 | |
822 | @ 1:9520eea781bc draft Nicolas Dumazet <nicdumz.commits@gmail.com> E |
822 | @ 1:9520eea781bc draft Nicolas Dumazet <nicdumz.commits@gmail.com> E |
823 |/ |
823 |/ |
824 o 0:cd010b8cd998 public Nicolas Dumazet <nicdumz.commits@gmail.com> A |
824 o 0:cd010b8cd998 public Nicolas Dumazet <nicdumz.commits@gmail.com> A |
825 |
825 |
826 |
826 |
|
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 |
|
840 |
|
841 $ hg -R main phase --public eea13746799a |
|
842 |
827 push |
843 push |
828 |
844 $ hg -R main push other --rev eea13746799a --bookmark book_eea1 |
829 $ hg -R main phase --public eea13746799a |
|
830 $ hg -R main push other --rev eea13746799a |
|
831 pushing to other |
845 pushing to other |
832 searching for changes |
846 searching for changes |
833 remote: adding changesets |
847 remote: adding changesets |
834 remote: adding manifests |
848 remote: adding manifests |
835 remote: adding file changes |
849 remote: adding file changes |
836 remote: added 1 changesets with 0 changes to 0 files (-1 heads) |
850 remote: added 1 changesets with 0 changes to 0 files (-1 heads) |
|
851 updating bookmark book_eea1 |
|
852 exporting bookmark book_eea1 |
837 $ hg -R other log -G |
853 $ hg -R other log -G |
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 | o 2:24b6387c8c8c public Nicolas Dumazet <nicdumz.commits@gmail.com> F |
856 | o 2:24b6387c8c8c public Nicolas Dumazet <nicdumz.commits@gmail.com> F |
841 | | |
857 | | |
842 @ | 1:9520eea781bc public Nicolas Dumazet <nicdumz.commits@gmail.com> E |
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 pull over ssh |
863 pull over ssh |
848 |
864 |
849 $ hg -R other pull ssh://user@dummy/main -r 02de42196ebe --traceback |
865 $ hg -R other pull ssh://user@dummy/main -r 02de42196ebe --bookmark book_02de |
850 pulling from ssh://user@dummy/main |
866 pulling from ssh://user@dummy/main |
851 searching for changes |
867 searching for changes |
852 adding changesets |
868 adding changesets |
853 adding manifests |
869 adding manifests |
854 adding file changes |
870 adding file changes |
855 added 1 changesets with 1 changes to 1 files (+1 heads) |
871 added 1 changesets with 1 changes to 1 files (+1 heads) |
|
872 updating bookmark book_02de |
856 (run 'hg heads' to see heads, 'hg merge' to merge) |
873 (run 'hg heads' to see heads, 'hg merge' to merge) |
|
874 importing bookmark book_02de |
857 |
875 |
858 pull over http |
876 pull over http |
859 |
877 |
860 $ hg -R main serve -p $HGPORT -d --pid-file=main.pid -E main-error.log |
878 $ hg -R main serve -p $HGPORT -d --pid-file=main.pid -E main-error.log |
861 $ cat main.pid >> $DAEMON_PIDS |
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 pulling from http://localhost:$HGPORT/ |
882 pulling from http://localhost:$HGPORT/ |
865 searching for changes |
883 searching for changes |
866 adding changesets |
884 adding changesets |
867 adding manifests |
885 adding manifests |
868 adding file changes |
886 adding file changes |
869 added 1 changesets with 1 changes to 1 files (+1 heads) |
887 added 1 changesets with 1 changes to 1 files (+1 heads) |
|
888 updating bookmark book_42cc |
870 (run 'hg heads .' to see heads, 'hg merge' to merge) |
889 (run 'hg heads .' to see heads, 'hg merge' to merge) |
|
890 importing bookmark book_42cc |
871 $ cat main-error.log |
891 $ cat main-error.log |
872 |
892 |
873 push over ssh |
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 pushing to ssh://user@dummy/other |
896 pushing to ssh://user@dummy/other |
877 searching for changes |
897 searching for changes |
878 remote: adding changesets |
898 remote: adding changesets |
879 remote: adding manifests |
899 remote: adding manifests |
880 remote: adding file changes |
900 remote: adding file changes |
881 remote: added 1 changesets with 1 changes to 1 files |
901 remote: added 1 changesets with 1 changes to 1 files |
|
902 updating bookmark book_5fdd |
|
903 exporting bookmark book_5fdd |
882 $ hg -R other log -G |
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 | o | 2:24b6387c8c8c public Nicolas Dumazet <nicdumz.commits@gmail.com> F |
913 | o | 2:24b6387c8c8c public Nicolas Dumazet <nicdumz.commits@gmail.com> F |
892 |/ / |
914 |/ / |
893 | @ 1:9520eea781bc public Nicolas Dumazet <nicdumz.commits@gmail.com> E |
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 push over http |
920 push over http |
899 |
921 |
900 $ hg -R other serve -p $HGPORT2 -d --pid-file=other.pid -E other-error.log |
922 $ hg -R other serve -p $HGPORT2 -d --pid-file=other.pid -E other-error.log |
901 $ cat other.pid >> $DAEMON_PIDS |
923 $ cat other.pid >> $DAEMON_PIDS |
902 |
924 |
903 $ hg -R main phase --public 32af7686d403 |
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 pushing to http://localhost:$HGPORT2/ |
927 pushing to http://localhost:$HGPORT2/ |
906 searching for changes |
928 searching for changes |
907 remote: adding changesets |
929 remote: adding changesets |
908 remote: adding manifests |
930 remote: adding manifests |
909 remote: adding file changes |
931 remote: adding file changes |
910 remote: added 1 changesets with 1 changes to 1 files |
932 remote: added 1 changesets with 1 changes to 1 files |
|
933 updating bookmark book_32af |
|
934 exporting bookmark book_32af |
911 $ cat other-error.log |
935 $ cat other-error.log |
912 |
936 |
913 Check final content. |
937 Check final content. |
914 |
938 |
915 $ hg -R other log -G |
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 | o | 2:24b6387c8c8c public Nicolas Dumazet <nicdumz.commits@gmail.com> F |
950 | o | 2:24b6387c8c8c public Nicolas Dumazet <nicdumz.commits@gmail.com> F |
927 |/ / |
951 |/ / |
928 | @ 1:9520eea781bc public Nicolas Dumazet <nicdumz.commits@gmail.com> E |
952 | @ 1:9520eea781bc public Nicolas Dumazet <nicdumz.commits@gmail.com> E |
929 |/ |
953 |/ |
930 o 0:cd010b8cd998 public Nicolas Dumazet <nicdumz.commits@gmail.com> A |
954 o 0:cd010b8cd998 public Nicolas Dumazet <nicdumz.commits@gmail.com> A |
931 |
955 |
932 |
956 |
933 Error Handling |
957 Error Handling |
934 ============== |
958 ============== |
935 |
959 |