SVN更新总结
我已经从 SVN 服务器上查看了源代码,这不在我的控制范围内。 我想知道何时有新的更新可用,并将其分类为修改、新增内容等。谷歌搜索让我相信“svn status --show-updates”是我正在寻找的命令。 但是,当我在存储库根目录上运行它时,它不会给我 A/M 标志,而只会在状态列中提供 * 。 关于如何获得这个有什么想法吗? TIA。
I have checked out source code from a SVN server, which is not in my control. I would like to know whenever there are new updates available and classify those as modification, new additions etc. Googling led me to believe "svn status --show-updates" was the command I was looking for. However when I run it on the repository root, it does not gives me the A/M flags but just * in status column. Any ideas on how to get this? TIA.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
一个很好的工具是 CommitMonitor。
A nice tool for the job is CommitMonitor.
svn 状态
< /a> 显示您的工作副本与您签出的存储库副本相比是否有任何更改。 --show-updates 标志显示服务器上是否有可用更新,* 表示有。编辑:好的,如果你可以使用 gui,我在 eclipse 中使用 subversive,但是为了保持命令行,这个怎么样。 你想要的听起来类似于合并的试运行......你想看看当你更新到 HEAD 时所有的 A、D、M 会发生什么。 所以试试这个:
svn status
shows you whether your working copy has any changes compared to the repository copy that you checked out. the --show-updates flag shows whether updates are available on the server, and the * means that there are.Edit: Ok, if you can go gui, i use subversive in eclipse, but in order to stay commandline, how about this. What you want sounds similar to a dryrun of a merge... you want to see what all the A,D,M will happen when you update to the HEAD. So try this:
会将 * 放在自上次更新以来存储库中更改的每个文件的前面。
您可以使用以下命令查看工作副本基础(上次更新)和当前存储库头之间的详细更改:
添加选项 --verbose 将列出所有以 M、A 等开头的已更改文件。
添加选项 --quiet 将隐藏提交消息。
更新:
将列出折叠在一个列表中的所有修订版中以 M、A 等开头的所有已更改文件。 我想这就是你要找的。
will put * in front of every file that changed in repository since last update.
You can see detailed changes between your working copy base (last update) and current repository head using:
Adding option --verbose will list all changed files prepended with M, A etc.
Adding option --quiet will hide commit messages.
Update:
will list all changed files prepended with M, A etc in all revisions in range collapsed in one list. I guess that's what you're looking for.
尝试eSvn。 它具有实时显示文件/目录状态的功能。
Try eSvn. It has a feature to show status of files/directories in real time.