Changed printing of copies in hg debugstate to: "copy: source -> dest"
authorThomas Arendsen Hein <thomas@intevation.de>
Sun, 28 Aug 2005 16:24:04 +0200
changeset 1126 624a3a4fa232
parent 1125 a33a7a543803
child 1127 19b048da4da9
Changed printing of copies in hg debugstate to: "copy: source -> dest"
mercurial/commands.py
--- a/mercurial/commands.py	Sat Aug 27 23:45:27 2005 -0700
+++ b/mercurial/commands.py	Sun Aug 28 16:24:04 2005 +0200
@@ -690,9 +690,8 @@
                  % (dc[file_][0], dc[file_][1] & 0777, dc[file_][2],
                     time.strftime("%x %X",
                                   time.localtime(dc[file_][3])), file_))
-    ui.write("\n")
     for f in repo.dirstate.copies:
-        ui.write("%s -> %s\n" % (repo.dirstate.copies[f], f))
+        ui.write("copy: %s -> %s\n" % (repo.dirstate.copies[f], f))
 
 def debugdata(ui, file_, rev):
     """dump the contents of an data file revision"""