[darcs-users] multiple darcs repositories in a single directory

Timothy Webster timw at outblaze.com
Mon Oct 18 00:37:11 UTC 2004


On Fri, 15 Oct 2004 18:02:22 -0400
Andrew Pimlott <andrew at pimlott.net> wrote:

> On Thu, Oct 14, 2004 at 10:33:33PM -0400, Timothy Webster wrote:
> > I need to have a way to create multiple darcs repositories within a directory.
> > It simply does not make logical since to always put every thing under a
> > directory as a single repository.
> 
> I had a different idea once:  Put something under _darcs that tells it
> that the root of the tree is not above _darcs, but somewhere else.
> 
>         ..../foo/_darcs/root   [contains "../tree"]
>         ..../foo/tree/foo.c
> 
> At the time, I was thinking the benefit would be that _darcs could be
> move outside the tree so it didn't get searched with find, grep -r, etc.
> But you could alternately point two repos at the same tree.

I have chosen multiple darcs repositories within a directory, because it allows
me to consider the directory as a virtual root. Can have as many branches I wish
on any host and never have to worry about _darcs directory landing on top of another.
The virtual root also allows me to safely restrict access to within the directory.

I want to start hacking the code today. Should work against stable
http://abridgegame.org/repos/darcs 
or another branch. In any case I don't want to upload to stable.
Or should I just publish my branch?

-tim 




More information about the darcs-users mailing list