tests/test-convert-git
changeset 5246 7d3dcdd92a1a
parent 5219 ceb6f242fb81
child 5231 5c2ca6d6ab21
equal deleted inserted replaced
5245:a1efa71f3ece 5246:7d3dcdd92a1a
       
     1 #!/bin/sh
       
     2 
       
     3 "$TESTDIR/hghave" git || exit 80
       
     4 
       
     5 echo "[extensions]" >> $HGRCPATH
       
     6 echo "convert=" >> $HGRCPATH
       
     7 
       
     8 mkdir git-repo
       
     9 cd git-repo
       
    10 git init
       
    11 echo a > a
       
    12 git add a
       
    13 git commit -m t1 > /dev/null || echo "git commit error"
       
    14 echo b >> a
       
    15 git commit -a -m t2 > /dev/null || echo "git commit error"
       
    16 cd ..
       
    17 
       
    18 hg convert git-repo
       
    19