[darcs-users] peer to peer darcs
droundy at abridgegame.org
Sat Jul 31 10:04:32 UTC 2004
On Fri, Jul 30, 2004 at 03:12:09PM -0400, S. Alexander Jacobson wrote:
> On Fri, 30 Jul 2004, David Roundy wrote:
> > The easy (and probably best) way to do this would be to have each person
> > have two repositories, a mirror of a virtual "central" repository, and
> > their own working repository. They would never make changes by hand to the
> > "central" repository, but instead would send changes to the list and have
> > those changes automatically applied to their "central" repository.
> Yes, that totally makes sense. It just means that
> they have to have storage for 2 copies of the
> repos (though there is probably a way of solving
> this one).
Well, clever use of hard links (assuming an OS and filesystem that support
hard links) will alleviate this problem. Darcs isn't very smart about
"maintaining" the hard links, but get will create them, so you could
occasionally throw away your working repo (when it's in sync with the
"central" repo) and darcs get a new working repo, so then all the patch
files would be hard linked.
More information about the darcs-users