OSDN Git Service

t9155: fix compatibility with older SVN
authorEric Wong <normalperson@yhbt.net>
Thu, 19 Aug 2010 19:03:18 +0000 (12:03 -0700)
committerEric Wong <normalperson@yhbt.net>
Thu, 19 Aug 2010 19:14:34 +0000 (12:14 -0700)
The "--parents" option did not appear until SVN 1.5.x
and is completely unnecessary in this case.

Reported-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
t/t9155-git-svn-fetch-deleted-tag.sh

index ef0ac87..a486a98 100755 (executable)
@@ -12,7 +12,7 @@ test_expect_success 'setup svn repo' '
        svn_cmd import -m "import for git svn" import "$svnrepo" &&
        rm -rf import &&
 
-       svn_cmd mkdir --parents -m "create mybranch directory" "$svnrepo/branches/mybranch" &&
+       svn_cmd mkdir -m "create mybranch directory" "$svnrepo/branches/mybranch" &&
        svn_cmd cp -m "create branch mybranch" "$svnrepo/trunk" "$svnrepo/branches/mybranch/trunk" &&
 
        svn_cmd co "$svnrepo/trunk" svn_project &&