bzrtools upgraded to 1.9-rich-root

Aaron Bentley aaron at aaronbentley.com
Tue Apr 28 19:47:58 BST 2009


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

Hi all,

As part of dogfooding rich roots, Robert suggested upgrading bzrtools to
rich roots.

Timings:
$ time bzr check
real	0m18.401s
user	0m17.949s
sys	0m0.432s

$ time bzr upgrade --1.9-rich-root
real	0m18.330s
user	0m17.805s
sys	0m0.348s

$ time bzr check
real	0m21.617s
user	0m21.261s
sys	0m0.328s

The conversion appears to have introduced 23 inconsistent parents:
Pre:
  1145 revisions
   434 file-ids
  2045 unique file texts
 64520 repeated file texts
     0 unreferenced text versions

Post:
  1145 revisions
   435 file-ids
  2045 unique file texts
 64520 repeated file texts
     0 unreferenced text versions
    23 inconsistent parents

In order to push in the new format, I used hitchhiker to delete the .bzr
directory.  When I pushed, it attempted to stack on itself, and ended up
dying because of infinite recursion.  This is a bzr bug.

I unlinked it from the trunk series, re-pushed, and re-linked it with trunk.

Because I haven't added any new revisions, Launchpad hasn't re-mirrored
it yet.  This is a Launchpad bug.  For read-only users, bzrtools looks
like it's in the old format, but I'll commit a NEWS update so that
Launchpad mirrors it.

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

iEYEARECAAYFAkn3T1oACgkQ0F+nu1YWqI2TRACfSmmhwRbQywoBTV8gYfQ0Iuvf
rKkAn21NVzU7KTcZQ3yAWY3wMRFsLOpu
=UxBz
-----END PGP SIGNATURE-----



More information about the bazaar mailing list