tests/test-convert-git
author Thomas Arendsen Hein <thomas@intevation.de>
Fri, 31 Aug 2007 13:14:03 +0200
changeset 5274 694eb9ccb54d
parent 5271 5c2ca6d6ab21
child 5335 88e931f74e8b
permissions -rwxr-xr-x
convert/subversion: Use util.set() instead of set() for python2.3 compatibility

#!/bin/sh

"$TESTDIR/hghave" git || exit 80

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

mkdir git-repo
cd git-repo
git init-db >/dev/null 2>/dev/null
echo a > a
git add a
git commit -m t1 >/dev/null 2>/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