SVN命令行:svnlook历史记录mypath,无法打开文件
我使用此命令来显示提交的历史记录。
svnlook History -r 2 mypath
我得到这个:
svnlook: Can't open file 'mypath/format': No such file or directory
我确信“mypath “是正确的。我还尝试进入更深的目录。我尝试使用绝对路径和相对路径,尝试使用 -r 选项和不使用 -r 选项,但我总是得到相同的结果。
I use this command to display the history of commits.
svnlook history -r 2 mypath
and I get this:
svnlook: Can't open file 'mypath/format': No such file or directory
I'm sure that "mypath" is correct. I also tried going into deeper directories. I tried with absolute and relative paths, I tried with the -r option and without but I always get the same result.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
svnlook
命令在托管存储库的服务器上使用(即,这不是您需要的)。您可以使用
svn
查询工作副本以获取您要查找的数据。请参阅 http://svnbook.red-bean.com/en /1.5/svn.tour.history.html 并查看svn log
或svn diff
以获取更改的历史记录。The
svnlook
command is used on the server that is hosting the repository (i.e., it's not what you need).You can use
svn
to query the working copy for what data you're looking for. Refer to http://svnbook.red-bean.com/en/1.5/svn.tour.history.html and check outsvn log
orsvn diff
to get a history of the changes.