# HG changeset patch # User Thomas Arendsen Hein # Date 1188556338 -7200 # Node ID 5c2ca6d6ab21a14312904b07a00e96f5818ea53f # Parent bfd73b567b3d7a2b73fb1dfd79b92d3a9e608caa Make test-convert-git compatible with other git versions (tested with 1.4.4.3) diff -r bfd73b567b3d -r 5c2ca6d6ab21 tests/test-convert-git --- a/tests/test-convert-git Wed Aug 29 16:15:23 2007 -0700 +++ b/tests/test-convert-git Fri Aug 31 12:32:18 2007 +0200 @@ -7,12 +7,12 @@ mkdir git-repo cd git-repo -git init +git init-db >/dev/null 2>/dev/null echo a > a git add a -git commit -m t1 > /dev/null || echo "git commit error" +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" +git commit -a -m t2 >/dev/null || echo "git commit error" cd .. hg convert git-repo diff -r bfd73b567b3d -r 5c2ca6d6ab21 tests/test-convert-git.out --- a/tests/test-convert-git.out Wed Aug 29 16:15:23 2007 -0700 +++ b/tests/test-convert-git.out Fri Aug 31 12:32:18 2007 +0200 @@ -1,4 +1,3 @@ -Initialized empty Git repository in .git/ assuming destination git-repo-hg initializing destination git-repo-hg repository scanning source...