[darcs-users] packages + revision control: is that possible?

Ketil Malde ketil at ii.uib.no
Thu Sep 13 09:03:39 UTC 2007


On Thu, 2007-09-13 at 10:57 +0200, Mojca Miklavec wrote:

> > > 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.

> This is what we have planned (and did with "svn copy" and "svn
> merge"), but it's OK when there are two packages, and comes to a NP
> problem when there are 10 packages present (i.e.: I cannot afford to
> provide all possible combinations of ten packages). 

I don't understand why you would need to?  AFAIU, for n packages, you'd
need n+1 repositories, surely that would be manageable?

-k




More information about the darcs-users mailing list