“svn 日志"不显示所有最近的提交 [英] "svn log" not showing all recent commits
问题描述
注意:对于有经验的 SVN 用户来说,这可能是一个明智的选择,但它难倒了我很长一段时间......所以希望这能帮助像我这样的人!
从命令行发出 svn log
后,我注意到最近的一些提交消息丢失了.我知道这些消息已正确保存在我的存储库中,因为它们显示在我的 SVN 客户端 (RapidSVN) 中.我只是不明白为什么使用 svn 的命令行版本它们不可见.
After issuing svn log
from the command line, I noticed that several recent commit messages were missing. I knew that these messages were correctly saved in my repository because they were showing up in my SVN client (RapidSVN). I just couldn't figure out why they wouldn't be visible using the command line version of svn.
下面的答案...
推荐答案
这个问题与我对 svn log
所显示内容的理解不力有关.在没有提供其他参数的情况下,它从日志的工作副本输出日志消息,而不是从实际的存储库输出.因此,发布 svn update
将使工作副本与存储库保持同步,然后 svn log
将反映所有最近的提交.呸!;-)
The problem had to do with my poor understanding of what svn log
was showing. With no other arguments supplied, it outputs log messages from the working copy of the log, not from the actual repository. Thus, issuing svn update
will bring the working copy up-to-date with the repository, and then svn log
will reflect all recent commits. Duh! ;-)
这篇关于“svn 日志"不显示所有最近的提交的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!