diff tests/test-glog.t @ 13631:29c800ee54cf stable

graphlog: give meaningful error if more than one file is given
author Klaus Koch <kuk42@gmx.net>
date Sun, 13 Mar 2011 15:04:13 +0100
parents 101366ad816c
children 9966c95b8c4f
line wrap: on
line diff
--- a/tests/test-glog.t	Sun Mar 13 14:36:47 2011 +0100
+++ b/tests/test-glog.t	Sun Mar 13 15:04:13 2011 +0100
@@ -686,6 +686,11 @@
   show revision history alongside an ASCII revision graph
   [255]
 
+Only one file is allowed:
+  $ hg log -G foo bar
+  abort: --graph option allows at most one file
+  [255]
+
 Empty revision range - display nothing:
   $ hg glog -r 1..0