SVN日志-SVN:'.'不是工作副本 [英] Svn log - svn: '.' is not a working copy
问题描述
我收到"svn:'."不是工作副本",当我使用svn log命令时.
I'm getting "svn: '.' is not a working copy" when i use the svn log command.
我知道我需要工作副本才能使log命令起作用,但是可以直接在存储库上完成吗?
I know that i need a working copy for the log command to work but can this be done directly on a repository?
我的目标是显示存储库的信息(更改历史记录).我认为每当我需要日志信息时更新工作副本都不是一个好的解决方案.
My goal is to display the information (change history) of a repository. I think updating the working copy whenever i need the log information is not a good solution.
是否有替代方法或每次需要登录时更新工作副本是唯一的方法?
Is there an alternative solution to this or updating a working copy every time i need to log is the only way to go?
提前谢谢.
推荐答案
尝试svn log [repository_url]
这将获取特定存储库的日志,而不是本地已检出的存储库的日志.
That will get the log of a particular repository rather than the local, checked-out repository.
请参见本文档.
这篇关于SVN日志-SVN:'.'不是工作副本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!