If you are new to CVS and Drupal, and if you prefer(as me) to use command line(bash) instead of GUI based CVS programs.
Then this guide is for you!
There are basicly 5 stages:
make sure CVS is installed. just type CVS. If not, install cvs by typing(in ubuntu):
sudo apt-get install cvs
Red Hat based systems:
su yum install cvs
Note! my local servers document root is set to /home/morphir/www
So in my terminal, I'll do:
cd www ..or wherever your document root is..
then I'll download HEAD with this command(as anonymous):
cvs -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal co -d HEAD drupal
this will create a HEAD directory with all the containing drupal files on your document root.
.... then edit your file, using your favourite editor ...
.... save and exit ...
then we will make a .patch in the same directory as the edited file is located:
cd directory/edited.file
cvs diff -up edited.file > filename-descriptive-change.patch
Now you have created the patch. You apply the patch through your web browser.
Login to drupal.org and create an new issue. Upload the newly created filename-descriptive-change.patch with additional
descreption.
For more reference
See http://drupal.org/handbook/cvs/quickstart
and http://drupal.org/diffandpatch
Comments
Post new comment