changeset 79800:8cc70128affa

(vc-hg-diff): Don't pass an empty string.
author Dan Nicolaescu <dann@ics.uci.edu>
date Wed, 09 Jan 2008 08:49:59 +0000
parents 57956dd69d3f
children 1fc1252447c5
files lisp/ChangeLog lisp/vc-hg.el
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Jan 09 06:30:58 2008 +0000
+++ b/lisp/ChangeLog	Wed Jan 09 08:49:59 2008 +0000
@@ -1,3 +1,7 @@
+2008-01-09  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* vc-hg.el (vc-hg-diff): Don't pass an empty string.
+
 2008-01-09  Wilson Snyder <wsnyder@wsnyder.org>
 
 	* progmodes/verilog-mode.el (top-level): Fix spacing.
--- a/lisp/vc-hg.el	Wed Jan 09 06:30:58 2008 +0000
+++ b/lisp/vc-hg.el	Wed Jan 09 08:49:59 2008 +0000
@@ -286,8 +286,7 @@
 	    (if oldvers
 		(if newvers
 		    (list "-r" oldvers "-r" newvers)
-		  (list "-r" oldvers))
-	      (list ""))))))
+		  (list "-r" oldvers)))))))
 
 (defun vc-hg-revision-table (file)
   (let ((default-directory (file-name-directory file)))