[MERGE] Only loop graph.iter_ancestry once when running "bzr log FILE"

John Arbash Meinel john at arbash-meinel.com
Tue Sep 9 17:51:00 BST 2008


John Arbash Meinel has voted resubmit.
Status is now: Resubmit
Comment:
Robert was right to catch that this change causes "bzr log --short" to 
iterate the full ancestry, rather than shortcutting:

time bzr.dev log --short -r -10..-1
0.515s

time patched.bzr log --short -r -10..-1
1.592s

It is important to *me* to keep the above command fast (and I worked to 
make it so), as I use it several times a day.

For details, see: 
http://bundlebuggy.aaronbentley.com/project/bzr/request/%3Cc28763af0809071613r149cecddq5461f1388e7ea300%40mail.gmail.com%3E
Project: Bazaar



More information about the bazaar mailing list