# HG changeset patch # User Steve Borho # Date 2008-01-25 16:35:04 # Node ID 56e8a54bf71dcea3f46008d3e37af651bc2860b8 # Parent 9ed100559851f8fb4ba0a90f826f6a4bfb947c15 graphlog: add test for filelog graph diff --git a/tests/test-glog b/tests/test-glog --- a/tests/test-glog +++ b/tests/test-glog @@ -139,5 +139,8 @@ hg glog -q 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 diff --git a/tests/test-glog.out b/tests/test-glog.out --- a/tests/test-glog.out +++ b/tests/test-glog.out @@ -307,9 +307,17 @@ o changeset: 0:7aa22e58e8c1 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