Append the revision number for each file to the output.

(Yes, this is a new feature right before the 2.1 release.  No, I can't
imagine this would seriously break anybody's code.  In fact, most
users of this script are probably *happy* to see this addition.)
This commit is contained in:
Guido van Rossum 2001-04-10 03:31:27 +00:00
parent c32d824467
commit f9e56e117f
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ def format_output(database):
if prev:
print sep2,
for (p_date, p_working_file, p_rev, p_author) in prev:
print p_date, p_author, p_working_file
print p_date, p_author, p_working_file, p_rev
sys.stdout.writelines(prevtext)
prev = []
prev.append((date, working_file, rev, author))