/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 bzrlib/upgrade.py

  • Committer: Martin Pool
  • Date: 2005-06-27 06:09:34 UTC
  • Revision ID: mbp@sourcefrog.net-20050627060934-42a3c6aad57d8093
- Merge John's nice short-log format.

- Change log code to produce output through a LogFormatter object, 
  constructed from a factory method, to allow for more easily adding
  multiple formats in the future.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
                # there should be *some* way of making old entries have
93
93
                # the full meta information.
94
94
                import tempfile, os, errno
95
 
                from bzrlib.xml import pack_xml
96
 
                
97
95
                rev_tmp = tempfile.TemporaryFile()
98
 
                pack_xml(rev, rev_tmp)
 
96
                rev.write_xml(rev_tmp)
99
97
                rev_tmp.seek(0)
100
98
 
101
99
                tmpfd, tmp_path = tempfile.mkstemp(prefix=rev_id, suffix='.gz',