[Koha-devel] [CVS help] how to transmit a modification in a file

Roger Buck rog at saas.nsw.edu.au
Tue Apr 16 00:24:11 CEST 2002


Am trying to learn how to use CVS.

I am trying to commit two minor changes:

I have tried this from local shell prompt:

CVSROOT=:pserver:saas at cvs.koha.sourceforge.net:/cvsroot/koha
export CVSROOT
cvs login
cvs commit -m "Cleanup remaining ethnicity typo." koha/C4/Koha.pm
cvs commit -m "Add missing my %env" koha/moremember.pl

I get: 

 '"commit" requires write access to the repository'

Am I doing something wrong ;^)

R.


PS: I am using the CVS stuff at RedBean -  So far, looks like a superb 
reference for this stuff!



Pat Eyler wrote:
> 
> On Wed, 10 Apr 2002, paul POULAIN wrote:
> 
> > I've just modified index.html, and created 2 (dirty) pictures for the
> > link to /admin/ dir.
> >
> > cvs add for the 2 gif files is done, but how to update index.html ?
> >
> > Newbie at CVS...
> >
> > "cvs import" I think, but what's the syntax ?
> 
> normally you should do 'cvs update' first (to make sure you get any
> changes), then 'cvs commit'.  Also note that 'cvs add' doesn't upload the
> new files, it just marks them as part of the repository.  your next 'cvs
> commit' will upload them.
> 
> you might want to look at
>   http://cvsbook.red-bean.com/
> for many more answers to your cvs questions.




More information about the Koha-devel mailing list