我试图在两个svn分支之间创建diff,因此我尝试了以下命令:
svn diff https://mysvn/myrepo/branches/branch1url https://mysvn/myrepo/branches/branch2url
svn: E205000: Try 'svn help diff' for more information
svn: E205000: 'svn diff [-r N[:M]] [TARGET[@REV]...]' does not support mixed target types. Try using the --old and --new options or one of the shorthand invocations listed in 'svn help diff'.
svn: E205000: Error parsing arguments
svn: E200009: Cannot mix repository and working copy targets
在检查了帮助之后,我又敢尝试:
svn diff --old=https://mysvn/myrepo/branches/branch1url
--new=https://mysvn/myrepo/branches/branch2url
并收到另一条错误消息:
svn: E205000: Try 'svn help diff' for more information
svn: E205000: Path 'https://mysvn/myrepo/branches/branch2url' not relative to base URLs
我总是可以将项目导入git存储库,但这会是一个很大的杀伤力。。。
如何在SVN中为我的案例创建两个分支之间的差异?