/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2007-04-13 16:16:41 UTC
  • mto: (2520.4.1 bzr.mpbundle)
  • mto: This revision was merged to the branch mainline in revision 2631.
  • Revision ID: abentley@panoramicfeedback.com-20070413161641-uch3j6ur8lc5l989
Allow specifying --outfile and --memory

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
                for x in range(1000):
111
111
                    file_weave.get_line_list(revisions)
112
112
                print >> sys.stderr, time.clock() - start
 
113
            if memory and outfile is not None:
 
114
                outvf = MultiVersionedFile(outfile)
 
115
                for version_id in vf.versions():
 
116
                    outvf.add_diff(vf.get_diff(version_id), version_id,
 
117
                                   vf._parents[version_id])
113
118
        finally:
114
119
            if outfile is None:
115
120
                vf.destroy()