[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ~/.cvsrc is not read !
From: |
Patrick Goldbronn - SFME/LGLS |
Subject: |
Re: ~/.cvsrc is not read ! |
Date: |
Thu, 06 Sep 2001 09:36:45 +0200 |
Larry Jones wrote:
>
> Patrick Goldbronn - SFME/LGLS writes:
> >
> > I wrote a .cvsrc file which contains 'cvs -r' line because I want get
> > read only file to force use of cvs edit command.
> >
> > Unfortunatly, when I run 'cvs co MODULE', I get all sources files in rw
> > mode and not in ro :-((
>
> Well, the only possibilities I can think of are that the file is in the
> wrong place, it has the wrong name, or it has the wrong format. When
> you run CVS, is $HOME set? If so, is it set to the directory that
> contains your .cvsrc file? You did create the file on the client rather
> than the server, no?
>
> -Larry Jones
>
> I'll be a hulking, surly teen-ager before you know it!! -- Calvin
My $HOME is correctly set.
As Harig propose to use incorrect option -g : I get error.
Well, I change my .cvsrc file and I put 'cvs -r' in first line : It
works !!!!
I read more seriously documentation and I understand my mistake : I have
put one line for one option :
'cvs -z3', next 'cvs -r'
so cvs found first entry (-z3 option) and don't read more (as write in
documentation :-( ).
The rigth syntax is 'cvs -r -z3', I suppose.
Perhaps change example in manual to add such example to be more clear
for newbies who don't speak well Shakespeare langage, or are very tired
;-)
Thank you very much.
--
#####################################
# Patrick GOLDBRONN #
# CEA - DEN/DM2S/SFME/LGLS #
# CE-Saclay, Bâtiment 460 #
# 91191 GIF/YVETTE CEDEX (FRANCE) #
# #
# Tél : 01 69 08 73 55 #
# Fax : 01 69 08 96 96 #
#####################################