builtin-commit: add --date option
[git/vmiklos.git] / t / t9151-svn-mergeinfo.sh
blobf57daf401ac7c36c1d9f2380200e0efad2400f70
1 #!/bin/sh
3 # Copyright (c) 2007, 2009 Sam Vilain
6 test_description='git-svn svn mergeinfo properties'
8 . ./lib-git-svn.sh
10 test_expect_success 'load svn dump' "
11 svnadmin load -q '$rawsvnrepo' \
12 < '$TEST_DIRECTORY/t9151/svn-mergeinfo.dump' &&
13 git svn init --minimize-url -R svnmerge \
14 -T trunk -b branches '$svnrepo' &&
15 git svn fetch --all
18 test_expect_success 'represent svn merges without intervening commits' "
19 [ `git cat-file commit HEAD^1 | grep parent | wc -l` -eq 2 ]
22 test_expect_success 'represent svn merges with intervening commits' "
23 [ `git cat-file commit HEAD | grep parent | wc -l` -eq 2 ]
26 test_done