Subversion 选项可显示更新结果而不实际更新
perforce 命令:
p4sync -n
将显示同步结果(在 subversion 中更新),而不实际执行同步。
我一直在 svn 帮助页面中查找,并在 subversion 中搜索一个具有相同功能的标签/命令,但尚未找到。我在想可能有一个 svn update 标签可以完成这个任务。有吗?
The perforce command:
p4 sync -n
will display the results of the sync (update in subversion) without actually performing the sync.
I've been looking in the svn help pages and googling around for a tag/command in subversion that will do the same but have yet to find one. I was thinking there may be a tag for svn update that would accomplish this. Is there one?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
要查看更新将更改哪些内容,请输入:
这类似于
svn status
,但也显示将更新的文件。然后,您可以通过在各个文件上运行
svn status
/svn diff
来查看个体差异。To see what an update will change, enter:
This is like
svn status
but also displays files which would be updated.You can then see individual differences by running
svn status
/svn diff
on individual files.您只是想看到变化吗?我会查看
diff
命令。示例此处。Are you just looking to see changes? I'd look at the
diff
command. Example here.