tests/test-convert-git
author Patrick Mezard <pmezard@gmail.com>
Mon, 27 Aug 2007 22:17:51 +0200
changeset 5255 37c610c41ed6
parent 5219 ceb6f242fb81
child 5231 5c2ca6d6ab21
permissions -rwxr-xr-x
Test svn repository conversion

#!/bin/sh

"$TESTDIR/hghave" git || exit 80

echo "[extensions]" >> $HGRCPATH
echo "convert=" >> $HGRCPATH

mkdir git-repo
cd git-repo
git init
echo a > a
git add a
git commit -m t1 > /dev/null || echo "git commit error"
echo b >> a
git commit -a -m t2 > /dev/null || echo "git commit error"
cd ..

hg convert git-repo