51
51
('modified', 'M'), ('added', 'A'), ('removed', 'D'),
52
52
('renamed', 'R'), ('unknown', '?'), ('ignored', 'I'),
54
print ' %5d %s' % (count_status[fs], name)
55
print ' %5d versioned subdirector%s' % (count_version_dirs,
54
print ' %8d %s' % (count_status[fs], name)
55
print ' %8d versioned subdirector%s' % (count_version_dirs,
56
56
plural(count_version_dirs, 'y', 'ies'))
59
59
print 'branch history:'
60
60
history = b.revision_history()
61
61
revno = len(history)
62
print ' %5d revision%s' % (revno, plural(revno))
62
print ' %8d revision%s' % (revno, plural(revno))
64
64
for rev in history:
65
65
committers.add(b.get_revision(rev).committer)
66
print ' %5d committer%s' % (len(committers), plural(len(committers)))
66
print ' %8d committer%s' % (len(committers), plural(len(committers)))
68
68
firstrev = b.get_revision(history[0])
69
69
age = int((time.time() - firstrev.timestamp) / 3600 / 24)
70
print ' %5d day%s old' % (age, plural(age))
70
print ' %8d day%s old' % (age, plural(age))
71
71
print ' first revision: %s' % format_date(firstrev.timestamp,
79
79
print 'text store:'
80
80
c, t = b.text_store.total_size()
81
print ' %5d file texts' % c
82
print ' %5d kB' % (t/1024)
81
print ' %8d file texts' % c
82
print ' %8d kB' % (t/1024)
85
85
print 'revision store:'
86
86
c, t = b.revision_store.total_size()
87
print ' %5d revisions' % c
88
print ' %5d kB' % (t/1024)
87
print ' %8d revisions' % c
88
print ' %8d kB' % (t/1024)
92
92
print 'inventory store:'
93
93
c, t = b.inventory_store.total_size()
94
print ' %5d inventories' % c
95
print ' %5d kB' % (t/1024)
94
print ' %8d inventories' % c
95
print ' %8d kB' % (t/1024)