Jirong Hu
2009-08-24 15:53:06 UTC
I haven't used CVS for some time. But I am not new to SCM tools.
What I did is (in CVS Linux server):
1. Use "adminuser", I added a new directory called projects/project2 to cvs, without run "cvs commit"
2. Use "root", I ran a "cvs update -d" to see that new project2, and added a new file called readme.txt under project2,
Now I can't commit or update anything from both users. Below is the error message:
[***@localhost projects]$ cvs commit
cvs commit: Examining .
cvs commit: Examining project1
cvs commit: Examining project2
[***@localhost projects]$ pwd
/home/adminuser/projects
[***@localhost projects]$ cvs update
cvs update: Updating .
cvs update: Updating project1
cvs update: Updating project2
[***@localhost project2]# cvs commit
cvs commit: Examining .
[***@localhost project2]#
How can I resolve this? And why I can add a new file under a un-committed new directory?
Thanks
Jirong
__________________________________________________________________
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca
What I did is (in CVS Linux server):
1. Use "adminuser", I added a new directory called projects/project2 to cvs, without run "cvs commit"
2. Use "root", I ran a "cvs update -d" to see that new project2, and added a new file called readme.txt under project2,
Now I can't commit or update anything from both users. Below is the error message:
[***@localhost projects]$ cvs commit
cvs commit: Examining .
cvs commit: Examining project1
cvs commit: Examining project2
[***@localhost projects]$ pwd
/home/adminuser/projects
[***@localhost projects]$ cvs update
cvs update: Updating .
cvs update: Updating project1
cvs update: Updating project2
[***@localhost project2]# cvs commit
cvs commit: Examining .
[***@localhost project2]#
How can I resolve this? And why I can add a new file under a un-committed new directory?
Thanks
Jirong
__________________________________________________________________
Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca