tests/test-bundle2.t
changeset 21647 1a6909f4ebb0
parent 21628 7c5a85619dca
child 21648 c26a11cdafeb
equal deleted inserted replaced
21646:ce25f465e572 21647:1a6909f4ebb0
   188   > bundle2=$TESTTMP/bundle2.py
   188   > bundle2=$TESTTMP/bundle2.py
   189   > [experimental]
   189   > [experimental]
   190   > bundle2-exp=True
   190   > bundle2-exp=True
   191   > [ui]
   191   > [ui]
   192   > ssh=python "$TESTDIR/dummyssh"
   192   > ssh=python "$TESTDIR/dummyssh"
       
   193   > logtemplate={rev}:{node|short} {phase} {author} {desc|firstline}
   193   > [web]
   194   > [web]
   194   > push_ssl = false
   195   > push_ssl = false
   195   > allow_push = *
   196   > allow_push = *
   196   > EOF
   197   > EOF
   197 
   198 
   662   adding file changes
   663   adding file changes
   663   added 8 changesets with 7 changes to 7 files (+3 heads)
   664   added 8 changesets with 7 changes to 7 files (+3 heads)
   664   (run 'hg heads' to see heads, 'hg merge' to merge)
   665   (run 'hg heads' to see heads, 'hg merge' to merge)
   665 
   666 
   666   $ hg log -G
   667   $ hg log -G
   667   o  changeset:   8:02de42196ebe
   668   o  8:02de42196ebe draft Nicolas Dumazet <nicdumz.commits@gmail.com> H
   668   |  tag:         tip
       
   669   |  parent:      6:24b6387c8c8c
       
   670   |  user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
       
   671   |  date:        Sat Apr 30 15:24:48 2011 +0200
       
   672   |  summary:     H
       
   673   |
   669   |
   674   | o  changeset:   7:eea13746799a
   670   | o  7:eea13746799a draft Nicolas Dumazet <nicdumz.commits@gmail.com> G
   675   |/|  parent:      6:24b6387c8c8c
   671   |/|
   676   | |  parent:      5:9520eea781bc
   672   o |  6:24b6387c8c8c draft Nicolas Dumazet <nicdumz.commits@gmail.com> F
   677   | |  user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
       
   678   | |  date:        Sat Apr 30 15:24:48 2011 +0200
       
   679   | |  summary:     G
       
   680   | |
   673   | |
   681   o |  changeset:   6:24b6387c8c8c
   674   | o  5:9520eea781bc draft Nicolas Dumazet <nicdumz.commits@gmail.com> E
   682   | |  parent:      1:cd010b8cd998
   675   |/
   683   | |  user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
   676   | o  4:32af7686d403 draft Nicolas Dumazet <nicdumz.commits@gmail.com> D
   684   | |  date:        Sat Apr 30 15:24:48 2011 +0200
       
   685   | |  summary:     F
       
   686   | |
   677   | |
   687   | o  changeset:   5:9520eea781bc
   678   | o  3:5fddd98957c8 draft Nicolas Dumazet <nicdumz.commits@gmail.com> C
   688   |/   parent:      1:cd010b8cd998
       
   689   |    user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
       
   690   |    date:        Sat Apr 30 15:24:48 2011 +0200
       
   691   |    summary:     E
       
   692   |
       
   693   | o  changeset:   4:32af7686d403
       
   694   | |  user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
       
   695   | |  date:        Sat Apr 30 15:24:48 2011 +0200
       
   696   | |  summary:     D
       
   697   | |
   679   | |
   698   | o  changeset:   3:5fddd98957c8
   680   | o  2:42ccdea3bb16 draft Nicolas Dumazet <nicdumz.commits@gmail.com> B
   699   | |  user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
   681   |/
   700   | |  date:        Sat Apr 30 15:24:48 2011 +0200
   682   o  1:cd010b8cd998 draft Nicolas Dumazet <nicdumz.commits@gmail.com> A
   701   | |  summary:     C
       
   702   | |
       
   703   | o  changeset:   2:42ccdea3bb16
       
   704   |/   user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
       
   705   |    date:        Sat Apr 30 15:24:48 2011 +0200
       
   706   |    summary:     B
       
   707   |
       
   708   o  changeset:   1:cd010b8cd998
       
   709      parent:      -1:000000000000
       
   710      user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
       
   711      date:        Sat Apr 30 15:24:48 2011 +0200
       
   712      summary:     A
       
   713   
   683   
   714   @  changeset:   0:3903775176ed
   684   @  0:3903775176ed draft test a
   715      user:        test
       
   716      date:        Thu Jan 01 00:00:00 1970 +0000
       
   717      summary:     a
       
   718   
   685   
   719 
   686 
   720   $ hg bundle2 --debug --rev '8+7+5+4' ../rev.hg2
   687   $ hg bundle2 --debug --rev '8+7+5+4' ../rev.hg2
   721   4 changesets found
   688   4 changesets found
   722   list of changesets:
   689   list of changesets:
   801   adding file changes
   768   adding file changes
   802   added 2 changesets with 2 changes to 2 files
   769   added 2 changesets with 2 changes to 2 files
   803   updating to branch default
   770   updating to branch default
   804   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
   771   2 files updated, 0 files merged, 0 files removed, 0 files unresolved
   805   $ hg -R other log -G
   772   $ hg -R other log -G
   806   @  changeset:   1:9520eea781bc
   773   @  1:9520eea781bc public Nicolas Dumazet <nicdumz.commits@gmail.com> E
   807   |  tag:         tip
       
   808   |  user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
       
   809   |  date:        Sat Apr 30 15:24:48 2011 +0200
       
   810   |  summary:     E
       
   811   |
   774   |
   812   o  changeset:   0:cd010b8cd998
   775   o  0:cd010b8cd998 public Nicolas Dumazet <nicdumz.commits@gmail.com> A
   813      user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
       
   814      date:        Sat Apr 30 15:24:48 2011 +0200
       
   815      summary:     A
       
   816   
   776   
   817 
   777 
   818 pull
   778 pull
   819 
   779 
   820   $ hg -R other pull -r 24b6387c8c8c
   780   $ hg -R other pull -r 24b6387c8c8c
   893   $ cat other-error.log
   853   $ cat other-error.log
   894 
   854 
   895 Check final content.
   855 Check final content.
   896 
   856 
   897   $ hg -R other log -G
   857   $ hg -R other log -G
   898   o  changeset:   7:32af7686d403
   858   o  7:32af7686d403 public Nicolas Dumazet <nicdumz.commits@gmail.com> D
   899   |  tag:         tip
       
   900   |  user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
       
   901   |  date:        Sat Apr 30 15:24:48 2011 +0200
       
   902   |  summary:     D
       
   903   |
   859   |
   904   o  changeset:   6:5fddd98957c8
   860   o  6:5fddd98957c8 public Nicolas Dumazet <nicdumz.commits@gmail.com> C
   905   |  user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
       
   906   |  date:        Sat Apr 30 15:24:48 2011 +0200
       
   907   |  summary:     C
       
   908   |
   861   |
   909   o  changeset:   5:42ccdea3bb16
   862   o  5:42ccdea3bb16 public Nicolas Dumazet <nicdumz.commits@gmail.com> B
   910   |  parent:      0:cd010b8cd998
       
   911   |  user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
       
   912   |  date:        Sat Apr 30 15:24:48 2011 +0200
       
   913   |  summary:     B
       
   914   |
   863   |
   915   | o  changeset:   4:02de42196ebe
   864   | o  4:02de42196ebe public Nicolas Dumazet <nicdumz.commits@gmail.com> H
   916   | |  parent:      2:24b6387c8c8c
       
   917   | |  user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
       
   918   | |  date:        Sat Apr 30 15:24:48 2011 +0200
       
   919   | |  summary:     H
       
   920   | |
   865   | |
   921   | | o  changeset:   3:eea13746799a
   866   | | o  3:eea13746799a public Nicolas Dumazet <nicdumz.commits@gmail.com> G
   922   | |/|  parent:      2:24b6387c8c8c
   867   | |/|
   923   | | |  parent:      1:9520eea781bc
   868   | o |  2:24b6387c8c8c public Nicolas Dumazet <nicdumz.commits@gmail.com> F
   924   | | |  user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
   869   |/ /
   925   | | |  date:        Sat Apr 30 15:24:48 2011 +0200
   870   | @  1:9520eea781bc public Nicolas Dumazet <nicdumz.commits@gmail.com> E
   926   | | |  summary:     G
   871   |/
   927   | | |
   872   o  0:cd010b8cd998 public Nicolas Dumazet <nicdumz.commits@gmail.com> A
   928   | o |  changeset:   2:24b6387c8c8c
       
   929   |/ /   parent:      0:cd010b8cd998
       
   930   | |    user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
       
   931   | |    date:        Sat Apr 30 15:24:48 2011 +0200
       
   932   | |    summary:     F
       
   933   | |
       
   934   | @  changeset:   1:9520eea781bc
       
   935   |/   user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
       
   936   |    date:        Sat Apr 30 15:24:48 2011 +0200
       
   937   |    summary:     E
       
   938   |
       
   939   o  changeset:   0:cd010b8cd998
       
   940      user:        Nicolas Dumazet <nicdumz.commits@gmail.com>
       
   941      date:        Sat Apr 30 15:24:48 2011 +0200
       
   942      summary:     A
       
   943   
   873   
   944 
   874 
   945 Error Handling
   875 Error Handling
   946 ==============
   876 ==============
   947 
   877