[Wolfgang Jeltsch <[EMAIL PROTECTED]>, Fri, 11 Nov 2005 14:24:38 +0100]:
> > I think I read somewhere that it is recommended to only have _darcs
> > and subdirectories in the top-level directory.  Certainly this makes
> > it easier to pull different and unrelated things into a single repo.
> 
> Is it really advicable to put unrelated things into a single repository?

Probably not in order to get a repo that you then work on with darcs
for a long time (and branch off of), but it is a simple way of getting
copies of all the relevant pieces of something larger into a single
place.

Simple example: project foo defines some code for working on arbitrary
functions of a certain kind.  Using this code, a problem is found when
applying this to a function defined in project bar.  So just pull both
foo and bar into the same place, play around with the combination of
code that exhibits the problem, record the necessary changes (taking
care that foo and bar changes remain separate).  Push foo patches to
foo, bar patches (if any) to bar.  Get rid of the repo.

If the foo project has everything except _darcs under foo/, and the
bar project under bar/, there can be no conflicts in pulling both into
the same repo.

Regards,

Albert.

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to