Commits

Takafumi Arakaki  committed b0034e9

%s/heads_branch/branch_heads/g

  • Participants
  • Parent commits edd4400

Comments (0)

Files changed (1)

     heads_all = hg_heads(sep, '--closed').splitlines()
     heads_closed = set(heads_all) - set(heads_active)
 
-    heads_branch = {}
-    append_branch(heads_branch, heads_active, sep)
-    append_branch(heads_branch, heads_closed, sep)
+    branch_heads = {}
+    append_branch(branch_heads, heads_active, sep)
+    append_branch(branch_heads, heads_closed, sep)
 
     i = 0
-    for br in sort_branches(heads_branch):
-        heads = heads_branch[br]
+    for br in sort_branches(branch_heads):
+        heads = branch_heads[br]
         for node in heads[1:]:
             newbranch = branch_temp.format(i=i)
             print 'node:{node} | branch: {branch} -> {newbranch}'.format(