using branch7.revision_id_to_revno to get dotted revnos

John Arbash Meinel john at arbash-meinel.com
Sun Dec 7 00:31:54 GMT 2008


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

Martin Albisetti wrote:
> Hello from lovely Mountain View, California.
> 
> I've been managing to get some Loggerhead hacking done in the past few
> days, and we've been looking into some optimizations with lifeless and
> poolie, and one of them is to try and avoid generating the whole
> revision graph every time. A first step was to get revnos lazily, so I
> started playing with branch.branch7.revision_id_to_revno, but it seems
> to blow up on dotted revnos.
> 
> Is there something else I should be using?
> 
> 

Dotted revnos ATM are defined by loading the entire revision graph. So
nothing we have is better.

I did some work to do less that whole ancestry, but it isn't much
better. We still end up loading it a lot of the graph.

If we changed dotted revnos to start with the revision that merged them,
we might be able to do a bit better.

If you want to play with the branch, it is available here:

http://bzr.arbash-meinel.com/branches/bzr/1.6-dev/lazy_revno/

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk7GXoACgkQJdeBCYSNAAM/9QCdEgj0Pzgyvgm+BmT8LdRSlm8N
qYsAmwYZuPvtWw2d/eu9o4kSU5V2h8vT
=sC0B
-----END PGP SIGNATURE-----



More information about the bazaar mailing list