2017-09-05 135 views
0

的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 

回答

0

-t開關需要一個參數,它告訴git-svn哪條路徑通向幹線。在你的情況下,你說你的中繼線在目錄http://example.com/svn,所以沒有指定錯誤信息告訴你的URL。在你的情況下,你可能不想要-t開關。