Code

git-svn: convert SVN 1.5+ / svnmerge.py svn:mergeinfo props to parents
[git.git] / t / t9151-svn-mergeinfo.sh
1 #!/bin/sh
2 #
3 # Copyright (c) 2007, 2009 Sam Vilain
4 #
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' < '../t9151/svn-mergeinfo.dump' &&
12         git svn init --minimize-url -R svnmerge \
13           -T trunk -b branches '$svnrepo' &&
14         git svn fetch --all
15         "
17 test_expect_success 'svn merges were represented coming in' "
18         [ `git cat-file commit HEAD | grep parent | wc -l` -eq 2 ]
19         "
21 test_done