changeset 5939:56e8a54bf71d

graphlog: add test for filelog graph
author Steve Borho <steve@borho.org>
date Fri, 25 Jan 2008 10:35:04 -0600
parents 9ed100559851
children 7b222815a462
files tests/test-glog tests/test-glog.out
diffstat 2 files changed, 13 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-glog	Fri Jan 25 10:28:21 2008 -0600
+++ b/tests/test-glog	Fri Jan 25 10:35:04 2008 -0600
@@ -139,5 +139,8 @@
 echo % glog
 hg glog
 
+echo % file glog
+hg glog 5
+
 echo % unused arguments
-hg glog -q foo || echo failed
+hg glog -q foo bar || echo failed
--- a/tests/test-glog.out	Fri Jan 25 10:28:21 2008 -0600
+++ b/tests/test-glog.out	Fri Jan 25 10:35:04 2008 -0600
@@ -307,9 +307,17 @@
    date:        Thu Jan 01 00:00:00 1970 +0000
    summary:     (0) root
 
+% file glog
+o  changeset:   5:3589c3c477ab
+   parent:      3:02173ffbf857
+   parent:      4:e2cad8233c77
+   user:        test
+   date:        Thu Jan 01 00:00:05 1970 +0000
+   summary:     (5) expand
+
 % unused arguments
 hg glog: invalid arguments
-hg glog [OPTION]...
+hg glog [OPTION] [FILE]...
 
 show revision history alongside an ASCII revision graph
 failed