Global shared repositories
Ville M. Vainio
vivainio at gmail.com
Wed Mar 12 11:37:24 GMT 2008
On Wed, Mar 12, 2008 at 12:59 PM, Harald Meland
<harald.meland at usit.uio.no> wrote:
> > Wouldn't it be handy to provide an environment variable (e.g.
> > BZR_SHARED_REP_DIR) to point to a shared repository that is global for
> > all the projects in the machine?
>
> To expand somewhat on Alexander's reply: No, I don't think so.
>
> Shared repositories are merely an space optimization, and they will
> only do any optimization if any branches shares some subset of
> revisions.
>
> This means that there is little point in storing unrelated projects in
> the same shared repository.
There would be, for people who only develop for, say, 2 or 3 different
projects, and want more flexibility for their directory layout but
still conserve space.
Could the shared repository architecture be fixed so that there would
be no file locking? I.e. only allow creation of new files, and once
fully written all files would be read-only. I admit git is the only
dvcs whose storage format I halfway understand (though I've never used
it - I only read about it when it was the new cool thing from Linus,
and it has probably changed a lot with time), so I am probably working
with wrong assumptions...
--
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'
More information about the bazaar
mailing list