##// END OF EJS Templates
Test git repository conversion
Test git repository conversion

File last commit:

r5219:ceb6f242 default
r5219:ceb6f242 default
Show More
test-convert-git
19 lines | 320 B | text/plain | TextLexer
#!/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