CVS, partial content and user rights [message #187117] |
Fri, 30 January 2004 06:49  |
Eclipse User |
|
|
|
Hi,
I have to deal with a special organization within CVS. The repository
includes many directories. I have read access to each one, and I have
write access only to a part of the repostory : /com/soc/pack1/pack2
I've created a project which share with the whole repository (I hardly see
how to avoid this), but I've updated my project only from the part where I
have write access.
Until that point, everything was fine.
Now I want to commit a file (Right click on it and Commit), but I have the
error :
****
cvs -r ci -m "EGT : Correction syntaxe"
" /myProject/com/soc/pack1/pack2/pack3/pack4/pack5/myFile.java "
egt ::checking user rights.
check for
check for /com/soc/pack1/pack2/*
check for
check for /tools/*
Commit from egt rejected
cvs server: Pre-commit check failed
cvs [server aborted]: correct above errors first!
The server reported an error while performing the "cvs commit" command.
(took 0:00.875)
Error: myProject: cvs server: Pre-commit check failed
Error: myProject: cvs [server aborted]: correct above errors first!
****
Why does eclipse check the tools right ? How to avoid this ?
Thanks in advance for your answers.
E.G.
|
|
|
|
|
|
Re: CVS, partial content and user rights [message #188339 is a reply to message #187117] |
Mon, 02 February 2004 11:58  |
Eclipse User |
|
|
|
Hi,
Sorry for this message : I've discovered that there is a pre-commit script
written here which has a few constraints in the Module name when it checks
for rights.
The only point that concerns Eclipse is that the Module name is not
mandatory. If I want to share with the whole CVS reporsitory, I have to
use "./"
I've tested that when I use "/", Eclipse works fine, but other CVS tools
doesn't. Strange isn't it.
E.G.
|
|
|
Powered by
FUDForum. Page generated in 0.08149 seconds