view tests/test-convert-git @ 5256:be4835ad9a85

convert: new config variable hg.tagsbranch controls which branch tags are committed to
author Brendan Cully <brendan@kublai.com>
date Mon, 27 Aug 2007 15:39:07 -0700
parents ceb6f242fb81
children 5c2ca6d6ab21
line wrap: on
line source

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