~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to graph.py

  • Committer: Aaron Bentley
  • Date: 2005-09-19 02:44:11 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20050919024411-8bb9efa8c13c7c44
Updated to match API changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
193
193
 
194
194
 
195
195
def write_ancestry_file(branch, filename, collapse=True, antialias=True):
196
 
    b = Branch(branch)
 
196
    b = Branch.open_containing(branch)
197
197
    relations = graph_merge_pick(b, b)
198
198
    ext = filename.split('.')[-1]
199
199
    if antialias and ext in ('png', 'jpg'):