[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help regarding CVS

From: Sadia Tahseen
Subject: Help regarding CVS
Date: Wed, 5 Mar 2008 15:18:29 -0800 (PST)

I have a doubt ,please check below.I also wanted to tell you that I have done as you told me to on the server machine logging in as "root".But when I logged out and logged off as root and again logged back in as root on the server machine (by ssh through the root of client machine),I  was again asked CVSROOT setup.It shows
No CVSROOT specified!please use -d option
Why is it so.I have already tried committing it ,but it says there are some errors when I type the following

1.cvs add projectdir/mydate
2.cvs commit -m"a comment" projectdir/mydate

cvs add: in directory .:
cvs [add aborted]: there is no version here; do 'cvs checkout' first

I HAVE TRIED  using checkout too  so it update projectdir but still shows the above errors.

for the 2 command the errors it shows:

cvs commit -m "a comment" projectdir/mydate
cvs commit: use `cvs add' to create an entry for projectdir/mydate
cvs [commit aborted]: correct above errors first!

Please let me know what should be done

Thank you

Then some appropriate commands {twisted from my last email}:

as root on the cvs_server:
edit /etc/group and add a group for your cvs work, i.e. add a line similar to
the one of the following:
#if you choose to use users group,
# then substitute
# users where you see sadiascvsgroup below
chown sadia:sadiascvsgroup /appl/src/cvs/

Here sadia can be  root on the server machine ?and can sadia be root on client machines (for workstations)?

then as sadia on cvs_server:
cd /appl/src/cvs/
mkdir JavaAppl
pwd #assumption it returns /appl/src/cvs/
export CVSROOT=/appl/src/cvs/JavaAppl
cvs init
mkdir JavaAppl/projectdir
chown :sadiascvsgroup JavaAppl/projectdir
chmod g+rws JavaAppl/projectdir
#you'll want to tighten up security on the following directory later.
chown :sadiascvsgroup JavaAppl/CVSROOT
chmod g+rws JavaAppl/CVSROOT

then as sadia on a_workstation:
export CVSROOT=:ext:cvs_server:/appl/src/cvs/JavaAppl
export CVS_RSH=ssh
cvs checkout projectdir
date > projectdir/mydate
cvs add projectdir/mydate
cvs commit -m"a comment" projectdir/mydate

as user1 on another_workstation:
export CVSROOT=:ext:cvs_server:/appl/src/cvs/JavaAppl
export CVS_RSH=ssh
cvs checkout projectdir

Thank you

Never miss a thing. Make Yahoo your homepage.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]