tests/test-sidedata.t
changeset 43040 ba4072c0a911
parent 43031 e16ca9fde7aa
child 43041 559ac8411f12
equal deleted inserted replaced
43039:7902001aaf41 43040:ba4072c0a911
     1 ==========================================================
     1 ==========================================================
     2 Test file dedicated to checking side-data related behavior
     2 Test file dedicated to checking side-data related behavior
     3 ==========================================================
     3 ==========================================================
     4 
     4 
       
     5 Check data can be written/read from sidedata
       
     6 ============================================
       
     7 
       
     8   $ cat << EOF >> $HGRCPATH
       
     9   > [extensions]
       
    10   > testsidedata=$TESTDIR/testlib/ext-sidedata.py
       
    11   > EOF
       
    12 
       
    13   $ hg init test-sidedata --config format.use-side-data=yes
       
    14   $ cd test-sidedata
       
    15   $ echo aaa > a
       
    16   $ hg add a
       
    17   $ hg commit -m a --traceback
       
    18   $ echo aaa > b
       
    19   $ hg add b
       
    20   $ hg commit -m b
       
    21   $ echo xxx >> a
       
    22   $ hg commit -m aa
     5 
    23 
     6 Check upgrade behavior
    24 Check upgrade behavior
     7 ======================
    25 ======================
     8 
    26 
     9 Right now, sidedata has not upgrade support
    27 Right now, sidedata has not upgrade support