I ran into trouble with the
patch instructions.
Suppose I maintain a local cvs tree on my own system. Then I have two ways to stay current with the openacs tree. One (detailed in some of the CVS documentation) is to download a tarball, untar it on top of my working directory, and import it with a branch/vendor tag. The other is to check out openacs tree using
cvs -z3 -d :pserver:anonymous@openacs.org:/cvsroot co openacs-4
Question 1) If I want to have my own local tree and also have a checkout tree from openacs.org, must these be two different trees?
Now, I have made changes to an existing package and I want to submit these changes back to Openacs as bug fixes/new features. The only way I see how to do that now, assuming the answer to Question 1 is yes, is this (openacs-4 is the live branch and openacs-dev is my local tree):
cd /web/openacs-4/packages/foo
cvs up -AdP
cp * /web/openacs-dev/packages/foo
cp sql/* /web/openacs-dev/packages/foo/sql
(etc - repeat for all affected directories and hope you don't miss any.
This process avoids copying the special CVS directories but surely there's a better way)
cvs diff -NRukk /web/openacs-dev/packages/foo > /tmp/my_new_patch.txt
Question 2) Will this work, and is there a better/easier way?