From: Andreas Gruenbacher Date: Fri, 26 Feb 2010 21:35:43 GMT Subject: Re: [PATCH 2/3] Different views on a repository Message-ID: <201002262235.43929.agruen@suse.de> In-Reply-To: <201002260145.33960.agruen@suse.de> On Friday 26 February 2010 01:45:33 Andreas Gruenbacher wrote: > A combination of the two approaches would be to "link forward" instead of > "linking back", so that the consolidated view would maintain itself, with a > server repo setup like this: > > /repos/ABC: > objects > refs/tags/A/ > refs/tags/B/ > refs/heads/A/ > refs/heads/B/ > > /repos/A: > refs/tags -> /repos/ABC/refs/tags/A/ > refs/heads -> /repos/ABC/refs/heads/A/ > objects -> /repos/ABC/objects/ > > /repos/B: > refs/tags -> /repos/ABC/refs/tags/B/ > refs/heads -> /repos/ABC/refs/heads/B/ > objects -> /repos/ABC/objects/ > > This could be made safe by not doing garbage collection if objects is a > symlink instead of a directory. (The ABC repo could be garbage collected > as usual.) Am I overlooking anything why this can't work? Self reply: reference packing breaks this kind of setup. Crap. Andreas