cheap branching across file systems?
John Arbash Meinel
john at arbash-meinel.com
Tue Jun 27 20:43:22 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
TK Soh wrote:
> On 6/27/06, Wouter van Heyst <larstiq at larstiq.dyndns.org> wrote:
>> TK:
>>
>> I guess what I wanted to ask initially, where did you pick up this
>> 'concept of cheap branching'? If our documentation is not clear, that
>> needs to be fixed.
>
> Try this thread:
>
> http://www.selenic.com/pipermail/mercurial/2006-June/008576.html
>
> Perhaps I didn't understand it correctly.
That is exactly that we can create cheap branches within a repository,
but only as subdirectories of the repository. The specific comment is
that with repositories, bzr doesn't need hard-links to get the same
space savings.
HG supports hard-linking their branches (though as you make changes to
one, it starts to break the links for anything that is effected).
But that means you have to be on a filesystem that supports it. (so no
vfat, HFS+ generally performs poorly, and not ftp...)
There is also plans to support 'shallow' checkouts, which only contain a
little bit of history, but let you reference more history elsewhere.
'light' checkouts are a little bit too light, as they can't work when
disconnected. A 'shallow' would let you commit locally, etc, it just
wouldn't have a complete history for doing stuff like merging. But we
don't have that yet.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEoYpaJdeBCYSNAAMRAiIOAJ9VnflctGBwVzl9Bfdu4mYc+/W9MgCgglRT
nEtDJP9L9DO3tOfOzP6439c=
=aDx6
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list