[darcs-users] packages + revision control: is that possible?
Nathan Gray
kolibrie at graystudios.org
Wed Sep 12 17:49:42 UTC 2007
On Wed, Sep 12, 2007 at 06:16:19PM +0200, Mojca Miklavec wrote:
> I've been googling around, but found no satisfactory solution so far.
> I would like to have a repository holding multiple packages/modules,
> but as opposed to svn, where each "module" is a separate folder, I
> need multiple packages/modules to contain files in the same folder.
>
> So, assume that I have the following files:
>
> dir1/file1 (belongs to package 1)
> dir1/file2 (belongs to package 1)
> dir1/file3 (belongs to package 2)
> dir2/file1 (belongs to package 1)
> dir2/file2 (belongs to package 2)
With darcs, I would set up two repositories (package1 and package2).
I would then set up a combined repository:
darcs get package1 combined
cd combined
darcs pull ../package2
I would then continue to make edits to 'package1' and 'package2', and keep
'combined' up-to-date by pulling from both source repositories.
There has been talk about nested repositories in darcs, but the
concept is still very ellusive.
-kolibrie
More information about the darcs-users
mailing list