什么是cvs新生文件?
我在结帐过程中收到此错误:
cvs checkout: warning: new-born file.java has disappeared
cvs [checkout aborted]: cannot make directory : No such file or directory
cvs status: cannot rewrite CVS/Entries.Backup: Permission denied
我确信我对此文件夹具有适当的权限,即使我尝试结帐到新文件夹,也会发生这种情况。 我也确信这些文件存在于 cvs 中。
我的结帐命令是:
cvs co -d dir -N -r(num) -r(num)... file file... and so on
这个新生的东西是什么意思?
I get this error during checkout:
cvs checkout: warning: new-born file.java has disappeared
cvs [checkout aborted]: cannot make directory : No such file or directory
cvs status: cannot rewrite CVS/Entries.Backup: Permission denied
I'm sure I have the proper permissions to this folder and it happens even when I try to check out to a new one. I'm also sure that these files exist in cvs..
my checkout command is:
cvs co -d dir -N -r(num) -r(num)... file file... and so on
What does this new-born thing mean?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
new-born
指已进行add
编辑但尚未进行commit
编辑的文件,或者CVS
> 在本地写入文件时遇到问题。我的猜测是存在一个记录
add
的.cvs
目录,但该文件已被删除。您看到的其他错误与签出目录中的权限有关 - 也许您没有签出目录的写入权限、
umask
设置不正确或存在目录权限继承问题。new-born
refers to a file that has beenadd
-ed but notcommit
-ted yet, or thatCVS
is having trouble getting the file written locally.My guess would be that there is a
.cvs
directory present that records anadd
but the file has since been deleted.The additional errors you're seeing relate to permissions in the checkout directory - maybe you don't have write access to the checkout directory,
umask
is set incorrectly or there is a directory permission inheritance problem.就我而言,这是由于指定文件中不存在的标签引起的。 尝试从命令行中删除 -r
In my case it was caused by specifying tag which was not present on the file. Try to remove -r from the cmd line
对于曾经具有与我的帐户匹配但现在不再匹配的 ACL 的文件,我收到了类似的错误消息。
I had a similar error message for a file that used to have ACLs that matched my account but no longer did.
如果该目录中的文件设置了粘性标记,但相关文件是新文件且尚未标记,则可能会发生此错误。
If there is a sticky tag setup on files in that directory but the file in question is new and has not been so tagged, then this error can occur.