tests/test-bundle2-exchange.t
branchstable
changeset 24878 e530cde6d115
parent 24860 263ec70769cb
child 25192 36111f98f23d
equal deleted inserted replaced
24877:cc497780eaf9 24878:e530cde6d115
    14 
    14 
    15   $ cat >> $HGRCPATH << EOF
    15   $ cat >> $HGRCPATH << EOF
    16   > [experimental]
    16   > [experimental]
    17   > evolution=createmarkers,exchange
    17   > evolution=createmarkers,exchange
    18   > bundle2-exp=True
    18   > bundle2-exp=True
       
    19   > bundle2-output-capture=True
    19   > [ui]
    20   > [ui]
    20   > ssh=python "$TESTDIR/dummyssh"
    21   > ssh=python "$TESTDIR/dummyssh"
    21   > logtemplate={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
    22   > logtemplate={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
    22   > [web]
    23   > [web]
    23   > push_ssl = false
    24   > push_ssl = false
   665   remote: transaction abort!
   666   remote: transaction abort!
   666   remote: Cleaning up the mess...
   667   remote: Cleaning up the mess...
   667   remote: rollback completed
   668   remote: rollback completed
   668   abort: pretxnchangegroup hook exited with status 1
   669   abort: pretxnchangegroup hook exited with status 1
   669   [255]
   670   [255]
       
   671 
       
   672 Check output capture control.
       
   673 
       
   674 (should be still forced for http, disabled for local and ssh)
       
   675 
       
   676   $ cat >> $HGRCPATH << EOF
       
   677   > [experimental]
       
   678   > bundle2-output-capture=False
       
   679   > EOF
       
   680 
       
   681   $ hg -R main push other -r e7ec4e813ba6
       
   682   pushing to other
       
   683   searching for changes
       
   684   adding changesets
       
   685   adding manifests
       
   686   adding file changes
       
   687   added 1 changesets with 1 changes to 1 files
       
   688   Fail early!
       
   689   transaction abort!
       
   690   Cleaning up the mess...
       
   691   rollback completed
       
   692   abort: pretxnchangegroup hook exited with status 1
       
   693   [255]
       
   694   $ hg -R main push ssh://user@dummy/other -r e7ec4e813ba6
       
   695   pushing to ssh://user@dummy/other
       
   696   searching for changes
       
   697   abort: pretxnchangegroup hook exited with status 1
       
   698   remote: adding changesets
       
   699   remote: adding manifests
       
   700   remote: adding file changes
       
   701   remote: added 1 changesets with 1 changes to 1 files
       
   702   remote: Fail early!
       
   703   remote: transaction abort!
       
   704   remote: Cleaning up the mess...
       
   705   remote: rollback completed
       
   706   [255]
       
   707   $ hg -R main push http://localhost:$HGPORT2/ -r e7ec4e813ba6
       
   708   pushing to http://localhost:$HGPORT2/
       
   709   searching for changes
       
   710   remote: adding changesets
       
   711   remote: adding manifests
       
   712   remote: adding file changes
       
   713   remote: added 1 changesets with 1 changes to 1 files
       
   714   remote: Fail early!
       
   715   remote: transaction abort!
       
   716   remote: Cleaning up the mess...
       
   717   remote: rollback completed
       
   718   abort: pretxnchangegroup hook exited with status 1
       
   719   [255]