~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to graph.py

  • Committer: Robert Collins
  • Date: 2005-10-19 05:10:17 UTC
  • mto: (147.4.12) (364.1.3 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: robertc@robertcollins.net-20051019051017-efc450ed39cfbaac
updates for bzr api changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
216
216
 
217
217
def write_ancestry_file(branch, filename, collapse=True, antialias=True,
218
218
                        merge_branch=None, ranking="forced"):
219
 
    b = Branch.open_containing(branch)
 
219
    b = Branch.open_containing(branch)[0]
220
220
    if merge_branch is not None:
221
 
        m = Branch.open_containing(merge_branch)
 
221
        m = Branch.open_containing(merge_branch)[0]
222
222
    else:
223
223
        m = None
224
224
    grapher = Grapher(b, m)