--- a/mercurial/commands.py Mon Jun 27 22:23:56 2005 -0800
+++ b/mercurial/commands.py Mon Jun 27 22:29:44 2005 -0800
@@ -123,7 +123,13 @@
ui.status("user: %s\n" % changes[1])
ui.status("date: %s\n" % time.asctime(
time.localtime(float(changes[2].split(' ')[0]))))
- ui.note("files: %s\n" % " ".join(changes[3]))
+ if ui.debugflag:
+ files = repo.diffrevs(changelog.parents(changenode)[0], changenode)
+ for key, value in zip(["files:", "files+:", "files-:"], files):
+ if value:
+ ui.note("%-12s %s\n" % (key, " ".join(value)))
+ else:
+ ui.note("files: %s\n" % " ".join(changes[3]))
description = changes[4].strip()
if description:
if ui.verbose: