comparison tests/test-convert-git @ 5271:5c2ca6d6ab21

Make test-convert-git compatible with other git versions (tested with 1.4.4.3)
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 31 Aug 2007 12:32:18 +0200
parents ceb6f242fb81
children 88e931f74e8b
comparison
equal deleted inserted replaced
5262:bfd73b567b3d 5271:5c2ca6d6ab21
5 echo "[extensions]" >> $HGRCPATH 5 echo "[extensions]" >> $HGRCPATH
6 echo "convert=" >> $HGRCPATH 6 echo "convert=" >> $HGRCPATH
7 7
8 mkdir git-repo 8 mkdir git-repo
9 cd git-repo 9 cd git-repo
10 git init 10 git init-db >/dev/null 2>/dev/null
11 echo a > a 11 echo a > a
12 git add a 12 git add a
13 git commit -m t1 > /dev/null || echo "git commit error" 13 git commit -m t1 >/dev/null 2>/dev/null || echo "git commit error"
14 echo b >> a 14 echo b >> a
15 git commit -a -m t2 > /dev/null || echo "git commit error" 15 git commit -a -m t2 >/dev/null || echo "git commit error"
16 cd .. 16 cd ..
17 17
18 hg convert git-repo 18 hg convert git-repo
19 19