[Pkg-bazaar-commits] ./bzr-gtk/unstable r484: Fix display of children in branchview.

Jelmer Vernooij jelmer at samba.org
Fri Apr 10 07:50:27 UTC 2009


------------------------------------------------------------
revno: 484
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Sun 2008-05-04 20:16:01 +0200
message:
  Fix display of children in branchview.
modified:
  NEWS
  branchview/linegraph.py
-------------- next part --------------
=== modified file 'NEWS'
--- a/NEWS	2008-04-25 21:38:41 +0000
+++ b/NEWS	2008-05-04 18:16:01 +0000
@@ -47,6 +47,8 @@
 
   * Fixed change view menu in viz. (Javier Derderian, #215350)
 
+  * Fix display of children in branchview. (Jelmer Vernooij, #224914)
+
  FEATURES
  
   * Only check for old Bazaar versions that are known to be incompatible and 

=== modified file 'branchview/linegraph.py'
--- a/branchview/linegraph.py	2008-04-28 22:24:06 +0000
+++ b/branchview/linegraph.py	2008-05-04 18:16:01 +0000
@@ -57,7 +57,7 @@
             graph_parents[revid] = parent_revids
         for parent in parent_revids:
             graph_children.setdefault(parent, []).append(revid)
-        graph_children[revid] = []
+        graph_children.setdefault(revid, [])
     for ghost in ghosts:
         for ghost_child in graph_children[ghost]:
             graph_parents[ghost_child] = [p for p in graph_parents[ghost_child]



More information about the Pkg-bazaar-commits mailing list