# HG changeset patch # User Thomas Arendsen Hein # Date 1122135089 -3600 # Node ID 040655ea0cc41b5b62aa187d73c7de2abef84eb3 # Parent d7380783a0866d339be2ed6cfedb56079c14e61a Show all dirstate info for 'hg debugstate'. diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -514,7 +514,10 @@ def debugstate(ui, repo): keys = dc.keys() keys.sort() for file_ in keys: - ui.write("%c %s\n" % (dc[file_][0], file_)) + ui.write("%c %3o %10d %s %s\n" + % (dc[file_][0], dc[file_][1] & 0777, dc[file_][2], + time.strftime("%x %X", + time.localtime(dc[file_][3])), file_)) def debugindex(ui, file_): """dump the contents of an index file"""