|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
cvs commit: Examining .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: [adminuser@localhost projects]$ cvs commit cvs commit: Examining . cvs commit: Examining project1 cvs commit: Examining project2 [adminuser@localhost projects]$ pwd /home/adminuser/projects [adminuser@localhost projects]$ cvs update cvs update: Updating . cvs update: Updating project1 cvs update: Updating project2 [root@localhost project2]# cvs commit cvs commit: Examining . [root@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 |
|
|
RE: cvs commit: Examining .The cvs "commit" operation does nothing to directories; it only works
for files. Once a directory is added to the repository, there are no further operations necessary to add files to, and use, that directory. -----Original Message----- From: info-cvs-bounces+mark.risman=mlb.com@... [mailto:info-cvs-bounces+mark.risman=mlb.com@...] On Behalf Of Jirong Hu Sent: Monday, August 24, 2009 11:53 AM To: info-cvs@... Subject: cvs commit: Examining . 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: [adminuser@localhost projects]$ cvs commit cvs commit: Examining . cvs commit: Examining project1 cvs commit: Examining project2 [adminuser@localhost projects]$ pwd /home/adminuser/projects [adminuser@localhost projects]$ cvs update cvs update: Updating . cvs update: Updating project1 cvs update: Updating project2 [root@localhost project2]# cvs commit cvs commit: Examining . [root@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 ********************************************************** MLB.com: Where Baseball is Always On |
|
|
Re: cvs commit: Examining .Jirong Hu writes:
> > 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" Directories are added to the repository immediately, there's no need to 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, You should never run CVS as root. By default, CVS will not allow root to commit any changes. When you add a new file, you need to do ``cvs add'' to tell CVS that you want it to control it. After you do that, you'll be able to commit it (as some user other than root). -- Larry Jones I've got PLENTY of common sense! I just choose to ignore it. -- Calvin |
| Free embeddable forum powered by Nabble | Forum Help |