What is a cvs new-born file?
Asked Answered
cvs
E

4

6

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?

Eating answered 25/11, 2008 at 15:43 Comment(0)
S
3

new-born refers to a file that has been add-ed but not commit-ted yet, or that CVS is having trouble getting the file written locally.

My guess would be that there is a .cvs directory present that records an add 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.

Serajevo answered 25/11, 2008 at 16:7 Comment(6)
Thanks, but I know these files have already been committed into CVS. This error also happens when I try to check these files out into a fresh directory. Lastly, I have rwx permissions on this directory.Eating
Double check your umask settings (umask -S in bash). After executing the cvs command, ls-la and verify that a .CVS was created and has the correct permissions. Otherwise, please post the exact command you're using.Serajevo
BTW, where are you running the checkout? Windows, cygwin, linux ?Serajevo
Files in the CVS folder: Entries Entries.Log Entries.Static Repository Root Looks pretty normalEating
This is probably going to require a bit of research and/or back & forth q & a. SO may not be the best forum for that type of interaction. The next thing I'd look at would be the repo on the server, verifying perms/ownership and that other projects/modules can be checked out w/out errors.Serajevo
Roman Joki answered below and his answer is exactly what I found on our side when we go this error.Lashawna
R
2

In my case it was caused by specifying tag which was not present on the file. Try to remove -r from the cmd line

Rafaelita answered 23/6, 2009 at 8:32 Comment(1)
I had similar issue where the deployment guys where using the wrong tag to deploy. Tag did not exist on the file.Lashawna
J
0

I had a similar error message for a file that used to have ACLs that matched my account but no longer did.

Jerlenejermain answered 10/12, 2009 at 16:42 Comment(0)
B
0

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.

British answered 5/7, 2012 at 22:9 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.