Subversion 选项可显示更新结果而不实际更新

发布于 2024-09-10 12:01:04 字数 193 浏览 3 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

放手` 2024-09-17 12:01:04

要查看更新将更改哪些内容,请输入:

svn status -u 

这类似于 svn status,但也显示将更新的文件。

然后,您可以通过在各个文件上运行 svn status/svn diff 来查看个体差异。

To see what an update will change, enter:

svn status -u 

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.

缪败 2024-09-17 12:01:04

您只是想看到变化吗?我会查看 diff 命令。示例此处

Are you just looking to see changes? I'd look at the diff command. Example here.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文