混帐svn的克隆显示错误消息
问题描述:
的SVN仓库是混帐svn的克隆显示错误消息
http://example.com/svn/a/b/c
http://example.com/svn/b/c
http://example.com/svn/c/d/e
http://example.com/svn/d/e/f
我要克隆的子集,
git svn clone -r HEAD -t http://example.com/svn --include-paths '(a/b/c|b/c|d/e/f)'
它显示了以下错误消息:
SVN repository location required as a command-line argument
答
-t
开关需要一个参数,它告诉git-svn
哪条路径通向干线。在你的情况下,你说你的中继线在目录http://example.com/svn
,所以没有指定错误信息告诉你的URL。在你的情况下,你可能不想要-t
开关。