hg history: don't print file list without -v switch
authormpm@selenic.com
Fri, 20 May 2005 17:46:47 -0800
changeset 123 b93cc016eec9
parent 122 82fd709deb8e
child 124 0f6c49138f67
hg history: don't print file list without -v switch
hg
--- a/hg
+++ b/hg
@@ -295,7 +295,7 @@ elif cmd == "history":
         print "user:", changes[1]
         print "date:", time.asctime(
             time.localtime(float(changes[2].split(' ')[0])))
-        print "files:", " ".join(changes[3])
+        if ui.verbose: print "files:", " ".join(changes[3])
         print "description:"
         print changes[4]