svn 命令显示文件修订版本,同时获取两个标签之间的差异
我想要两个标签之间的差异,例如 HEAD
和 UAT_1
。
命令 svn diff URL1 URL2 将给出所有文件差异,但它为每个文件获取的修订号将是目录的修订版。
有什么方法可以获取文件的最新修订版号,该文件显示为存储库中的差异,而不是目录修订版。
I want the differences between two tags lets say HEAD
and UAT_1
.
The command svn diff URL1 URL2
would give all the file differences but the revision number that it gets for each file would be the revision of the directory.
Is there any way that I can get the latest revision number of the file that is shown as difference that is in the repository and not the directory revision.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
svn info [TARGET]
(包含文件的完整路径):Last Changed Rev string您必须仅获取目标列表(来自
sv diff
)svn info [TARGET]
(with full path to file): Last Changed Rev stringYou have to get only list of TARGETS (from
sv diff
)