我想把SVN的差异提交到review board上;差异是在分支HEAD和基本标签之间生成的。
我使用了这个命令来生成diff文件:
svn diff https:/path/to/branch/head https:/path/to/tag
需要注意的是:
- 我尝试使用rbt diff revision1:revision2命令来生成差异。但是,我遇到了一个问题,即review board仅接受分支提交范围内的修订版本范围(不接受标记的修订版本)。 - 我尝试使用svn diff命令进行比较,然后使用rbt post --diff-filename上传文件,但命令返回错误,要求指定基目录。我添加了基本目录作为根目录,使用rbt post --basedir https:/path/to/root;review board接受了,但在网页上显示的差异是在https:/path/to/root/branches/featureName/path/to/changed/files和https:/path/to/root/path/to/changed/files之间的差异,而没有显示差异是在分支和标记之间的,如https:/path/to/root/tag/path/to/changed/files所示。
有没有办法完成这样的工作?
我使用了这个命令来生成diff文件:
svn diff https:/path/to/branch/head https:/path/to/tag
需要注意的是:
- 我尝试使用rbt diff revision1:revision2命令来生成差异。但是,我遇到了一个问题,即review board仅接受分支提交范围内的修订版本范围(不接受标记的修订版本)。 - 我尝试使用svn diff命令进行比较,然后使用rbt post --diff-filename上传文件,但命令返回错误,要求指定基目录。我添加了基本目录作为根目录,使用rbt post --basedir https:/path/to/root;review board接受了,但在网页上显示的差异是在https:/path/to/root/branches/featureName/path/to/changed/files和https:/path/to/root/path/to/changed/files之间的差异,而没有显示差异是在分支和标记之间的,如https:/path/to/root/tag/path/to/changed/files所示。
有没有办法完成这样的工作?