mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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:
parent
c32d824467
commit
f9e56e117f
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue