Hi,
I need to have a section of an open source project's code in my own
private repository. The open source project uses CVS and so do I. I
want to know how people typically work with this type of an
environment. I have included two suggestions below.
Possible Solution #1:
Pull all of the CVS files from the foreign repository, via cvs
checkout, place them in my repository in the root branch, and take a
private branch off of the root branch, privateBranch_1. Work within the
private branch making changes and additions. When a new version of the
code in the foreign repository is needed, drop the new sources into the
root branch and update the repository. This may be more difficult than
it sounds, I haven't tried it. Then take another branch off of the tip
of the repository root, privateBranch_2, and merge privateBranch_1 files
with the tip files of privateBranch_2. Repeat ad nauseum... This
solution results in the files in my repository having very different
version numbers from the foreign repository.
Possible Solution #2
Same as the above, but find some way to reproduce the entire history of
the files in the foreign repository so the version numbers in my
repository match the version numbers in the foreign repository. So, the
only thing different about my repository are the branches I take to make
changes. This solution would allow me to figure out exactly what I had
in my repository. However, I'm not holding my breath for a solution to
this problem since it sounds a bit difficult. It amounts to repository
cloning.
You might ask why I am doing this when I could simply give my changes
back to the open source project? Well, eventually, I want to give my
changes back to the project, but they wouldn't be accepted right now,
and they're not really ready anyway. In the meantime, I would like to
keep things organized while the open source project advances.
Do you'll have any suggestions? Thanks for your help.
Bill
--
William L. Brown
Work: 603-465-2114
Fax: 603-465-2114
Cell: 617-803-9156
Email: [EMAIL PROTECTED]
Home: 603-465-2948