[rfc] bzr-colo into core

Martin (gzlist) gzlist at googlemail.com
Fri Mar 25 22:55:41 UTC 2011


On 24/03/2011, Alexander Belchenko <bialix at ukr.net> wrote:
>
> I wish bzr can hardlink packs and indices while cloning repo locally.
> Actually we're at the better position here than hg: packs and indices
> are immutable, only pack-names should be different when you commit new
> stuff and clones diverge. Packing repo in one clone should not affect
> other clones I think, but maybe it's important to break links before
> moving old packs into obsolete area. And it should work on the Windows
> too (although Martin gz metioned some issues there).

I use hardlinks a fair bit and they're much less problematic than
symlinks. They're not supported on FAT but the fallback has clear
semantics (just copy the file instead) and is needed anyway when
crossing drive boundaries. The only real catch is Python 2 doesn't
provide an interface (because the CRT doesn't), but it's not much work
to implement one if it becomes worthwhile for bzr.

Martin



More information about the bazaar mailing list