Re: cvs commit: Examining .

Larry Jones <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.