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

  • Committer: Martin Pool
  • Date: 2005-08-17 08:32:56 UTC
  • Revision ID: mbp@sourcefrog.net-20050817083255-894936d5aebf7a95
- merge merge improvements from aaron

  revisions to merge are now specified by the -r parameter; the 
  /@ syntax is no longer needed

  abentley@panoramicfeedback.com-20050811205739-dc1988c004f9503e

Show diffs side-by-side

added added

removed removed

Lines of Context:
238
238
            basis_lineno.append(lineno)
239
239
            basis_lines.append(line)
240
240
 
241
 
        # another small special case: a merge, producing the same text as auto-merge
 
241
        # another small special case: a merge, producing the same text
 
242
        # as auto-merge
242
243
        if text == basis_lines:
243
244
            return new_version            
244
245
 
706
707
    print 'weave file        %9d bytes' % weave_size
707
708
    print 'total contents    %9d bytes' % total
708
709
    print 'compression ratio %9.2fx' % (float(total) / float(weave_size))
709
 
 
 
710
    if vers:
 
711
        avg = total/vers
 
712
        print 'average size      %9d bytes' % avg
 
713
        print 'relative size     %9.2fx' % (float(weave_size) / float(avg))
710
714
 
711
715
 
712
716
def usage():