[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Sorce tree from different repositories
From: |
Pierre Asselin |
Subject: |
Re: Sorce tree from different repositories |
Date: |
Sat, 31 Mar 2007 17:06:29 +0000 (UTC) |
User-agent: |
tin/1.6.2-20030910 ("Pabbay") (UNIX) (NetBSD/3.1_RC3 (i386)) |
Michael Ambrus <address@hidden> wrote:
> I'm working on a subset of an bigger project and I could use a way of
> maintaining both the subset and keeping up to date with the main project
> without messing around too much with patches. Preferably from the root of
> the combined source-tree as with any normal CVS project.
If I understand correctly, all you have to do is define the subproject
in your modules file.
cvs checkout CVSROOT
cd CVSROOT
<edit the modules file>
cvs commit
In the modules file, you make up names for your projects and give
the path to the top of their tree (relative to $CVSROOT). There is
no reason a project can't point to a subtree of an enclosing project.
mainproject path/to/top
subproject path/to/top/and/thence/to/sub
You can then check out 'subproject' by itself. Hopefully it is
self-contained so you can build and test it standalone. Any commits
you make to your subproject/ sandbox will show up when you update
your mainproject/ sandbox, and vice-versa.
If this isn't what you want, please clarify.
--
pa at panix dot com