520
520
print >>out, "weave contains %d versions" % len(w._v)
523
print ' %8s %8s %8s %s' % ('version', 'lines', 'bytes', 'sha1')
523
print '%6s %6s %8s %40s %20s' % ('ver', 'lines', 'bytes', 'sha1', 'parents')
524
for i in (6, 6, 8, 40, 20):
525
527
for i in range(len(w._v)):
528
530
bytes = sum((len(a) for a in text))
530
print ' %8d %8d %8d %s' % (i, lines, bytes, sha1)
532
print '%6d %6d %8d %40s' % (i, lines, bytes, sha1),
533
536
print >>out, "versions total %d bytes" % total