diff tests/test-glog @ 11448:25430ff23cfa stable

glog: fix crash on empty revision range
author Eric Eisner <ede@mit.edu>
date Thu, 24 Jun 2010 21:35:52 -0700
parents 4c844f16bf39
children
line wrap: on
line diff
--- a/tests/test-glog	Fri Jun 25 19:59:22 2010 +0200
+++ b/tests/test-glog	Thu Jun 24 21:35:52 2010 -0700
@@ -146,6 +146,9 @@
 echo % unused arguments
 hg glog -q foo bar || echo failed
 
+echo % empty revision range - display nothing
+hg glog -r 1..0
+
 echo % from outer space
 cd ..
 hg glog -l1 repo