tests/test-evolve-serveronly-bundle2.t
branchmercurial-3.8
changeset 2280 28bda23bd8c5
parent 2276 2d55ae0d6ce7
child 2398 612c17c8ab69
equal deleted inserted replaced
2262:d65318bf1782 2280:28bda23bd8c5
     5   > [defaults]
     5   > [defaults]
     6   > amend=-d "0 0"
     6   > amend=-d "0 0"
     7   > [web]
     7   > [web]
     8   > push_ssl = false
     8   > push_ssl = false
     9   > allow_push = *
     9   > allow_push = *
       
    10   > [ui]
       
    11   > ssh=python "$RUNTESTDIR/dummyssh"
    10   > [phases]
    12   > [phases]
    11   > publish = False
    13   > publish = False
    12   > [experimental]
    14   > [experimental]
    13   > bundle2-exp=True
    15   > bundle2-exp=True
    14   > EOF
    16   > EOF
    39   updating to branch default
    41   updating to branch default
    40   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
    42   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
    41   $ cat ./errors.log
    43   $ cat ./errors.log
    42   $ echo "[extensions]" >> ./client/.hg/hgrc
    44   $ echo "[extensions]" >> ./client/.hg/hgrc
    43   $ echo "evolve=" >> ./client/.hg/hgrc
    45   $ echo "evolve=" >> ./client/.hg/hgrc
       
    46   $ echo "[paths]" >> ./client/.hg/hgrc
       
    47   $ echo "ssh=ssh://user@dummy/server/" >> ./client/.hg/hgrc
    44   $ cp -r client other
    48   $ cp -r client other
    45 
    49 
    46 Smoke testing
    50 Smoke testing
    47 ===============
    51 ===============
    48 
    52 
   171 
   175 
   172   $ curl -s http://localhost:$HGPORT/?cmd=hello
   176   $ curl -s http://localhost:$HGPORT/?cmd=hello
   173   capabilities: _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_pullobsmarkers_0 _evoext_pushobsmarkers_0 batch * (glob)
   177   capabilities: _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_pullobsmarkers_0 _evoext_pushobsmarkers_0 batch * (glob)
   174   $ curl -s http://localhost:$HGPORT/?cmd=capabilities
   178   $ curl -s http://localhost:$HGPORT/?cmd=capabilities
   175   _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_pullobsmarkers_0 _evoext_pushobsmarkers_0 batch * (no-eol) (glob)
   179   _evoext_getbundle_obscommon _evoext_obshash_0 _evoext_obshash_1 _evoext_pullobsmarkers_0 _evoext_pushobsmarkers_0 batch * (no-eol) (glob)
       
   180 
       
   181 Test obshashrange discover
       
   182 ===========================================
       
   183 
       
   184   $ cat >> $HGRCPATH <<EOF
       
   185   > [experimental]
       
   186   > obshashrange = True
       
   187   > EOF
       
   188   $ cd client
       
   189   $ hg pull ssh
       
   190   pulling from ssh://user@dummy/server/
       
   191   searching for changes
       
   192   no changes found