tests/test-convert-git
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Mon, 27 Aug 2007 14:21:04 -0300
changeset 5242 466323968b23
parent 5231 ceb6f242fb81
child 5271 5c2ca6d6ab21
permissions -rwxr-xr-x
Avoid adding to the changelog executable files added by the second parent. This was a regression introduced by b51a8138292a.

#!/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