changeset 95038:a25916c502ba

(vc-rcs-create-tag): Fix typo in error message and pass backend arg.
author Juanma Barranquero <lekktu@gmail.com>
date Fri, 16 May 2008 08:32:57 +0000
parents aace8f4875d2
children 939006f4843e
files lisp/vc-rcs.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/vc-rcs.el	Fri May 16 08:25:00 2008 +0000
+++ b/lisp/vc-rcs.el	Fri May 16 08:32:57 2008 +0000
@@ -405,7 +405,7 @@
 	 (vc-switches 'RCS 'checkout)))
 
 (defun vc-rcs-checkout (file &optional editable rev)
-  "Retrieve a copy of a saved version of FILE. If FILE is a directory, 
+  "Retrieve a copy of a saved version of FILE. If FILE is a directory,
 attempt the checkout for all registered files beneath it."
   (if (file-directory-p file)
       (mapc 'vc-rcs-checkout (vc-expand-dirs (list file)))
@@ -471,7 +471,7 @@
 	(message "Checking out %s...done" file))))))
 
 (defun vc-rcs-rollback (files)
-  "Roll back, undoing the most recent checkins of FILES.  Directories are 
+  "Roll back, undoing the most recent checkins of FILES.  Directories are
 expanded to all regidtered subfuiles in them."
   (if (not files)
       (error "RCS backend doesn't support directory-level rollback."))
@@ -508,7 +508,7 @@
 			 (signal (car err) (cdr err)))))))))
 
 (defun vc-rcs-revert (file &optional contents-done)
-  "Revert FILE to the version it was based on.  If FILE is a directory, 
+  "Revert FILE to the version it was based on.  If FILE is a directory,
 revert all registered files beneath it."
   (if (file-directory-p file)
       (mapc 'vc-rcs-revert (vc-expand-dirs (list file)))
@@ -792,7 +792,7 @@
 
 (defun vc-rcs-create-tag (backend dir name branchp)
   (when branchp
-    (error "RCS backend %s does not support module branches."))
+    (error "RCS backend %s does not support module branches" backend))
   (let ((result (vc-tag-precondition dir)))
     (if (stringp result)
 	(error "File %s is not up-to-date" result)