tests/test-convert-hg-sink
changeset 5278 70e9a527cc61
child 5279 2dbd750b3ddd
equal deleted inserted replaced
5277:a32a8e50d233 5278:70e9a527cc61
       
     1 #!/bin/sh
       
     2 
       
     3 echo "[extensions]" >> $HGRCPATH
       
     4 echo "hgext.convert=" >> $HGRCPATH
       
     5 
       
     6 hg init orig
       
     7 cd orig
       
     8 echo foo > foo
       
     9 echo bar > bar
       
    10 hg ci -qAm 'add foo and bar' -d '0 0'
       
    11 
       
    12 hg rm foo
       
    13 hg ci -m 'remove foo' -d '0 0'
       
    14 
       
    15 mkdir foo
       
    16 echo file > foo/file
       
    17 hg ci -qAm 'add foo/file' -d '0 0'
       
    18 
       
    19 hg tag -d '0 0' some-tag
       
    20 
       
    21 hg log
       
    22 cd ..
       
    23 
       
    24 hg convert orig new 2>&1 | grep -v 'subversion python bindings could not be loaded'
       
    25 cd new
       
    26 hg out ../orig
       
    27 true