/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/knit.py

  • Committer: John Arbash Meinel
  • Date: 2006-08-08 03:34:57 UTC
  • mto: This revision was merged to the branch mainline in revision 1937.
  • Revision ID: john@arbash-meinel.com-20060808033457-406d62b14bedabe8
Some small tweaks to knit and tuned_gzip to shave off another couple seconds

Show diffs side-by-side

added added

removed removed

Lines of Context:
1328
1328
        # GzipFile.writelines() just iterates and calls self.write() for
1329
1329
        # each line in the list. So do the faster thing and write it all out
1330
1330
        # at once.
1331
 
        data_file.write(''.join(chain(
 
1331
        data_file.writelines(chain(
1332
1332
            ["version %s %d %s\n" % (version_id_utf8,
1333
1333
                                     len(lines),
1334
1334
                                     digest)],
1335
1335
            lines,
1336
 
            ["end %s\n" % version_id_utf8])))
 
1336
            ["end %s\n" % version_id_utf8]))
1337
1337
        data_file.close()
1338
1338
        length= sio.tell()
1339
1339