'bzr pack' a little *too* good

John Arbash Meinel john at arbash-meinel.com
Thu Dec 6 13:27:26 GMT 2007


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

John Arbash Meinel wrote:
> I'm working with Mattias Eriksson on seeing if Bazaar will work for the
> OpenOffice group. And we came across some interesting results.
> 

...

I also wanted to point out a very interesting effect of our auto-pack
algorithm. After conversion he said he had: "a conversion with approximately
44,000 revisions". If you look at his pack files you get:

84907157 dddd4bb98b910fd99deabbd4e3a6f3ed.pack
83926343 a3afb63bb81a38fa72546812346c090c.pack
49245956 2709b8d527248e753690318f038d9054.pack
38642676 d1b8be40f9d2e2b1a226bcb7f5e8656d.pack
 7035356 2e0512998013d4bec7b54b09dc0c0a0b.pack
 5256436 945615711adc2481a42a4ea1ba3acb8c.pack
 1802013 812ff93ef83744510a207e2a46c1ff29.pack
  771349 d8687edc744f7eaa2815bb29519bc835.pack
  680735 15956163407df101e65510e27b90f6e1.pack
  645596 e4b28dad675355193435ca0d8a8928ee.pack
  619474 9f774a67d993d17375473c581333da23.pack
  278814 1bdb329ea0beaaa0b1245302e20aa11b.pack
  258804 c54ab4f6b582a7303b5ebce7b20b73a1.pack
   25462 33ae901242efc686a683666235f08af9.pack
    1632 7f901e58a471b12b5f9be8f72b7a56e9.pack
    1532 aa48a1273c78c9a2221ce192629e3009.pack

And if you count, you have 4 largest size, 3 the next order of magnitude, 6 the
next, then 1, then 2. Which works out to:

43,612 revisions (right about 44k).

Anyway, push and pull and pack will mess up this beautiful layout. But it sure
is an interesting way to figure out how many revisions you have.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHV/i+JdeBCYSNAAMRAr9VAJ0Y1BQdjgZtP8ws3CeGAl7+LqZZXwCeNzuI
jxjFh/yymK3NVR7cjBlbp8U=
=0YuT
-----END PGP SIGNATURE-----



More information about the bazaar mailing list