Rev 4435: Make a note of the 'worst case' for heads. in http://bazaar.launchpad.net/~jameinel/bzr/jam-gdfo-heads

John Arbash Meinel john at arbash-meinel.com
Fri Jun 19 20:27:14 BST 2009


At http://bazaar.launchpad.net/~jameinel/bzr/jam-gdfo-heads

------------------------------------------------------------
revno: 4435
revision-id: john at arbash-meinel.com-20090619192632-1a4ntoq61fkhlp2x
parent: john at arbash-meinel.com-20090619191337-804ochxdkeri6g07
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-gdfo-heads
timestamp: Fri 2009-06-19 14:26:32 -0500
message:
  Make a note of the 'worst case' for heads.
-------------- next part --------------
=== modified file 'tools/time_graph.py'
--- a/tools/time_graph.py	2009-06-19 17:53:37 +0000
+++ b/tools/time_graph.py	2009-06-19 19:26:32 +0000
@@ -66,6 +66,9 @@
 for revision_id, parent_ids in parent_map.iteritems():
     if parent_ids is not None and len(parent_ids) > 1:
         combinations.append(parent_ids)
+# The largest portion of the graph that has to be walked for a heads() check
+# combinations = [('john at arbash-meinel.com-20090312021943-tu6tcog48aiujx4s',
+#                  'john at arbash-meinel.com-20090312130552-09xa2xsitf6rilzc')]
 if opts.max_combinations > 0 and len(combinations) > opts.max_combinations:
     combinations = random.sample(combinations, opts.max_combinations)
 



More information about the bazaar-commits mailing list