History horizons: how hard can they be ?

Jelmer Vernooij jelmer at samba.org
Sun Nov 15 17:54:26 GMT 2009


Imports from foreign branches are currently quite slow. This has got to
do with the fact that we actually have to process all of the data and
can't just copy verbatim as we can when cloning between two repositories
with the same format. In Subversion's case there is also the fact that
fetching all data in a repository is relatively slow.

Stacking seems like a good solution here, but unfortunately we don't
support inter-format stacking yet and it won't be trivial to implement
inter-format stacking.

Another option is supporting history horizons - just letting everything
except for the last X revisions on the mainline be a ghost. This would
work well at least for bzr-svn. 

As far as I can tell the only things required to support history
horizons properly are:

 * have a --horizon X option to 'bzr branch' that limits the revisions
to fetch
 * have a branch.conf option that limits the revisions to fetch
 * support ghosts on the mainline well (there are some open bugs in this
area)

Am I missing anything important?

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20091115/977e5fcb/attachment.pgp 


More information about the bazaar mailing list