[CVS help] how to transmit a modification in a file
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 ? -- Paul
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. -pate
-- Paul
_______________________________________________ Koha-devel mailing list Koha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/koha-devel
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@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.
On Tue, Apr 16, 2002 at 05:22:23PM +1000, Roger Buck said:
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@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 ;^)
Short answer yep :) If you are going to use the cvs tree as a developer you dont use the pserver. You need to checkout a copy of the repository as a developer. From sourceforge Only project developers can access the CVS tree via this method. SSH1 must be installed on your client machine. Substitute modulename and developername with the proper values. Enter your site password when prompted. export CVS_RSH=ssh cvs -z3 -d:ext:developername@cvs.koha.sourceforge.net:/cvsroot/koha co modulename
participants (4)
-
Chris Cormack -
Pat Eyler -
paul POULAIN -
Roger Buck