tests/testlib/checkheads-util.sh
branchmercurial-4.0
changeset 2278 2db189baf8b7
parent 2260 e200dbfb4515
parent 2277 61d885899466
child 2279 347849e17876
child 2318 523855eb28c1
equal deleted inserted replaced
2260:e200dbfb4515 2278:2db189baf8b7
     1 # common setup for head checking code
       
     2 
       
     3 . $TESTDIR/testlib/common.sh
       
     4 
       
     5 cat >> $HGRCPATH <<EOF
       
     6 [ui]
       
     7 logtemplate ="{node|short} ({phase}): {desc}\n"
       
     8 
       
     9 [phases]
       
    10 publish=False
       
    11 
       
    12 [extensions]
       
    13 strip=
       
    14 evolve=
       
    15 EOF
       
    16 
       
    17 setuprepos() {
       
    18     echo creating basic server and client repo
       
    19     hg init server
       
    20     cd server
       
    21     mkcommit root
       
    22     hg phase --public .
       
    23     mkcommit A0
       
    24     cd .. 
       
    25     hg clone server client
       
    26 }