split

Aaron Bentley aaron at aaronbentley.com
Tue Apr 8 13:20:15 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel Oberhoff wrote:
> hi,
> 
> I am intrigued by the split feature, as I need to split out some parts
> from a large tree. But I find it poorly documented. Also the split
> version history is about 60% in size of the original, but the files are
> only a tiny subset. Also the history of the subset is not very
> intertwined with the rest of the tree. Is there a way to drop some
> balast here?

The split command just creates a new branch.  It doesn't alter the
version history.  If you're getting a 60% reduction, you would probably
get the same effect from just branching the original tree.  Bazaar deals
in whole-tree snapshots, so split doesn't and can't reduce the size of
the tree by recording only the history of the split-out version.

You could get the same basically effect as split by branching, and then
deleting the relevant files and directories.  In the inner tree, you'd
then have to move the root directory, which isn't currently supported.
But it's otherwise the same.

The best way to reduce storage space is to use a shared repository, and
use a packs-based format.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH+2L/0F+nu1YWqI0RAgwzAJ9HARHJRZyipDRJjKbOnITU1ooDYwCfanYT
HBG+6IYmvW4Atziu/sFOIro=
=VekX
-----END PGP SIGNATURE-----



More information about the bazaar mailing list