Date: Tue, 7 Mar 2006 10:45:29 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Jose Liang <jliang@so-net.net.tw> Cc: freebsd-questions@freebsd.org Subject: Re: Problem with cvs commit failed in cvs-freebsd setup [REVISED] Message-ID: <20060307084529.GD1882@flame.pc> In-Reply-To: <001201c641c2$83bb7840$2e02a8c0@josematrix> References: <000401c64147$b521c310$2e02a8c0@josematrix> <20060307080753.GB972@flame.pc> <001201c641c2$83bb7840$2e02a8c0@josematrix>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-03-07 16:38, Jose Liang <jliang@so-net.net.tw> wrote: >> Sorry for not replying to the original post. I left it in my queue of >> incoming "to-be-replied" messages, and then got dragged into other >> things. > > It's fine, thanks help again! > >> >> Can you show me the output of: >> >> $ ls -ld $CVSROOT/* > > $ ls -ld $CVSROOT/* > ls: :local:/home/cvs/cvsroot/*: No such file or directory Because "$CVSROOT" in your environment is not set correctly. You have obviously included the string ``:local:'' somewhere in there, which is wrong. > Why No such file or directory? > But there are files and directories in $CVSROOT (/home/cvs/cvsroot): Your mailer has wrapped the text, rendering it almost useless, but that's ok in this case. Please try to find out if there's an option to turn off this wrapping for future posts though. > $ls -ld /home/cvs/cvsroot/* > drwxrwxr-x 4 cvs cvs 1536 Mar 6 17:27 /home/cvs/cvsroot/CVSROOT/ > drwxrwxr-x 2 jose cvs 512 Mar 1 05:10 /home/cvs/cvsroot/fifa/ > $ls -ld /home/cvs/cvsroot/CVSROOT/* > drwxrwxr-x 2 cvs cvs 512 Feb 12 23:39 /home/cvs/cvsroot/CVSROOT/Emptydir/ > -r--r--r-- 1 jose cvs 444 Mar 6 17:27 /home/cvs/cvsroot/CVSROOT/avail > -r--r--r-- 1 jose cvs 637 Mar 6 17:27 /home/cvs/cvsroot/CVSROOT/avail,v > -r-xr-xr-x 1 jose cvs 9118 Mar 6 17:27 /home/cvs/cvsroot/CVSROOT/cfg.pm* > -r-xr-xr-x 1 jose cvs 9327 Mar 6 17:27 /home/cvs/cvsroot/CVSROOT/cfg.pm,v* > -r--r--r-- 1 jose cvs 2186 Mar 6 17:27 /home/cvs/cvsroot/CVSROOT/cfg_local.pm > -r--r--r-- 1 jose cvs 2385 Mar 6 17:27 /home/cvs/cvsroot/CVSROOT/cfg_local.pm,v > -r--r--r-- 1 jose cvs 959 Mar 6 17:27 /home/cvs/cvsroot/CVSROOT/checkoutlist [...] This list looks ok. I think your only problem is the wrong value of $CVSROOT. Try setting CVSROOT in your environment to include *ONLY* the path to the CVS root directory. For /bin/sh or GNU bash, this would be: $ export CVSROOT='/home/cvs/cvsroot' For csh(1) the equivalent is: % setenv CVSROOT /home/cvs/cvsroot If this works fine, then make sure you also update any shell startup files that include the old CVSROOT value, and you're set to go :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060307084529.GD1882>