changeset 791:040655ea0cc4

Show all dirstate info for 'hg debugstate'.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 23 Jul 2005 17:11:29 +0100
parents d7380783a086
children 49ec802b4a16
files mercurial/commands.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Sat Jul 23 17:09:37 2005 +0100
+++ b/mercurial/commands.py	Sat Jul 23 17:11:29 2005 +0100
@@ -514,7 +514,10 @@
     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"""