Commits

Anonymous committed 5c0b0bb

bugfixes

Comments (0)

Files changed (3)

+1998-07-24  Peter Windle  <peterw@ugsolutions.com>
+
+	* vc.el (vc-backend-checkout): Use vc-checkout-switches when
+	checking out. Clean up comment with vc-cleanup-comment; this was
+	previously done on checkin only.
+
 1998-07-23  SL Baur  <steve@altair.xemacs.org>
 
 	* vc-hooks.el: Guard against menu-bar-final-items not being bound.
 
 # NOTE:  This package is incompatible with the regular `vc' package.
 
-VERSION = 1.06
+VERSION = 1.07
 AUTHOR_VERSION =
 MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
 PACKAGE = vc-cc
   (let ((filename (or workfile file)))
     (message "Checking out %s..." filename)
     (save-excursion
-      ;; Change buffers to get local value of vc-checkin-switches.
+      ;; Clean up comment prior to checkout (in case user ci's outside vc-cc)
+      (setq comment (vc-cleanup-comment comment nil))
+      ;; Change buffers to get local value of vc-checkout-switches.
       (set-buffer (or (get-file-buffer file) (current-buffer)))
       (vc-backend-dispatch
         file
             (vc-do-cleartool-command "co" file
                       comment
                       (and rev "-branch")
-                      rev))
+                      rev
+                      vc-checkout-switches))
         ))
     (or workfile
         (vc-file-setprop file