在子文件夹/路径下递归显示颠覆历史记录
svn help log
没有给我递归查看历史记录的选项。
svn log -l3 --recursive SVN_ROOT_URL
不起作用。我希望它能给我 SVN_ROOT_URL 下面的最后 3 个提交。
这真的很烦人。我总是必须启动 IDE 或查看 team-city 来查看项目的最后提交(尽管我不确定这些工具在幕后执行哪个 svn 命令)。
我认为这个功能非常重要,希望 svn-CLI 能够支持它,而不需要大量的 bash 脚本编写工作。
svn help log
doesn't give me an option to see the history recursively.
svn log -l3 --recursive SVN_ROOT_URL
does not work. I would expect that it gives me the last 3 commits below SVN_ROOT_URL.
This is really annoying. I always have to start my IDE or look at team-city to see the last commits on a project (though I am not sure which svn command these tools execute behind the scenes).
I think this feature is very important and hope it is supported out of the svn-CLI box without high bash-scripting effort.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
svn log
已经递归地执行此操作。我的错误是,我之前没有执行svn update
。如果您不想执行
svn update
来“保护”您的工作副本,请在服务器目标上执行 log 命令:我使用详细的
-v
标志来还可以查看所触及的文件。svn log
is already doing it recursively. My error was, that I didn't do ansvn update
before.If you don't want to do a
svn update
to "protect" your working-copy do the log command on the server destination:i use the verbose
-v
flag to also see the touched files.这真的很混乱
It's really confusing