tests/test-bundle2-exchange.t
branchstable
changeset 48315 a44bb185f6bd
parent 47921 0c92cd9286ee
child 48526 04688c51f81f
equal deleted inserted replaced
48314:6f43569729d4 48315:a44bb185f6bd
    26   $ cat >> $HGRCPATH << EOF
    26   $ cat >> $HGRCPATH << EOF
    27   > [experimental]
    27   > [experimental]
    28   > evolution.createmarkers=True
    28   > evolution.createmarkers=True
    29   > evolution.exchange=True
    29   > evolution.exchange=True
    30   > bundle2-output-capture=True
    30   > bundle2-output-capture=True
    31   > [ui]
       
    32   > ssh="$PYTHON" "$TESTDIR/dummyssh"
       
    33   > [command-templates]
    31   > [command-templates]
    34   > log={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
    32   > log={rev}:{node|short} {phase} {author} {bookmarks} {desc|firstline}
    35   > [web]
    33   > [web]
    36   > push_ssl = false
    34   > push_ssl = false
    37   > allow_push = *
    35   > allow_push = *
   920   abort: Clown phase push failed
   918   abort: Clown phase push failed
   921   [255]
   919   [255]
   922 
   920 
   923 Test lazily acquiring the lock during unbundle
   921 Test lazily acquiring the lock during unbundle
   924   $ cp $TESTTMP/hgrc.orig $HGRCPATH
   922   $ cp $TESTTMP/hgrc.orig $HGRCPATH
   925   $ cat >> $HGRCPATH <<EOF
       
   926   > [ui]
       
   927   > ssh="$PYTHON" "$TESTDIR/dummyssh"
       
   928   > EOF
       
   929 
   923 
   930   $ cat >> $TESTTMP/locktester.py <<EOF
   924   $ cat >> $TESTTMP/locktester.py <<EOF
   931   > import os
   925   > import os
   932   > from mercurial import bundle2, error, extensions
   926   > from mercurial import bundle2, error, extensions
   933   > def checklock(orig, repo, *args, **kwargs):
   927   > def checklock(orig, repo, *args, **kwargs):