简体   繁体   English

SVN命令行:svnlook历史mypath,无法打开文件

[英]SVN command line: svnlook history mypath, can't open file

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. 我确信“mypath”是正确的。 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. 我尝试使用绝对和相对路径,我尝试使用-r选项但没有,但我总是得到相同的结果。

The svnlook command is used on the server that is hosting the repository (ie, it's not what you need). svnlook命令用于托管存储库的服务器(即,它不是您需要的)。

You can use svn to query the working copy for what data you're looking for. 您可以使用svn查询工作副本以查找您要查找的数据。 Refer to http://svnbook.red-bean.com/en/1.5/svn.tour.history.html and check out svn log or svn diff to get a history of the changes. 请参阅http://svnbook.red-bean.com/en/1.5/svn.tour.history.html并查看svn logsvn diff以获取更改的历史记录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM