680
680
# FIXME: doesn't work on pipes
682
682
print >>out, "weave file size %d bytes" % weave_size
686
686
print '%6s %6s %8s %40s %20s' % ('ver', 'lines', 'bytes', 'sha1', 'parents')
687
687
for i in (6, 6, 8, 40, 20):
693
693
bytes = sum((len(a) for a in text))
695
695
print '%6d %6d %8d %40s' % (i, lines, bytes, sha1),