3 # Copyright (c) 2009 Eric Wong
6 test_description
='git svn property tests'
9 test_expect_success
'setup repo with a git repo inside it' '
10 svn_cmd co "$svnrepo" s &&
18 svn_cmd commit -m "create a nested git repo" &&
21 svn_cmd commit -m "modify .git/a" &&
26 test_expect_success
'clone an SVN repo containing a git repo' '
27 git svn clone "$svnrepo" g &&
32 test_expect_success
'SVN-side change outside of .git' '
36 svn_cmd commit -m "SVN-side change outside of .git" &&
38 svn_cmd log -v | grep -F "SVN-side change outside of .git"
42 test_expect_success
'update git svn-cloned repo' '
53 test_expect_success
'SVN-side change inside of .git' '
57 git commit -m "add a inside an SVN repo" &&
59 svn_cmd add --force .git &&
60 svn_cmd commit -m "SVN-side change inside of .git" &&
62 svn_cmd log -v | grep -F "SVN-side change inside of .git"
66 test_expect_success
'update git svn-cloned repo' '
77 test_expect_success
'SVN-side change in and out of .git' '
82 git commit -m "add a inside an SVN repo" &&
83 svn_cmd commit -m "SVN-side change in and out of .git" &&
85 svn_cmd log -v | grep -F "SVN-side change in and out of .git"
89 test_expect_success
'update git svn-cloned repo again' '