Problem with cvs commit failed in cvs-freebsd setup [REVISED]
Giorgos Keramidas
keramida at ceid.upatras.gr
Tue Mar 7 08:47:20 UTC 2006
On 2006-03-07 16:38, Jose Liang <jliang at 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 :)
More information about the freebsd-questions
mailing list