[darcs-users] Setting up common ancestry between unrelated but identical files so patches can be shared between them

Ketil Malde ketil.malde at bccs.uib.no
Tue Nov 13 11:52:55 UTC 2007


"Asfand Yar Qazi" <ayqazi at gmail.com> writes:

> Where I work, we're in a bit of a predicament.  We've been using
> subversion for a long time, and maintain 2 different products that
> both sell stuff using a common 'ordering model' that is mostly shared
> between them by way of a third repository - lets call it 'the lib' -
> with the use of externals.

> Any idea how this can be made to work?  Thanks

It seems to me the most obvious solution would be to use two repos for
each project, separating the 'lib' and application, so that patches
can be shared for the common 'lib' part.

Or you could start with repos containing just 'lib' for each
application, and add the application specific stuff to each separate
project.  You'd need to be careful so that no patches intended to be
pulled by the other project incorporated hunks relating to the
applicaiton specific parts (or it'd pull with it the whole thing).

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants


More information about the darcs-users mailing list