emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp ChangeLog vc-svn.el


From: Glenn Morris
Subject: [Emacs-diffs] emacs/lisp ChangeLog vc-svn.el
Date: Thu, 04 Dec 2008 07:03:56 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Glenn Morris <gm>       08/12/04 07:03:56

Modified files:
        lisp           : ChangeLog vc-svn.el 

Log message:
        (vc-svn-register-switches): Doc fix.  Add t as option.
        (vc-svn-register): Doc fix.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.14910&r2=1.14911
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/vc-svn.el?cvsroot=emacs&r1=1.105&r2=1.106

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.14910
retrieving revision 1.14911
diff -u -b -r1.14910 -r1.14911
--- ChangeLog   4 Dec 2008 06:13:19 -0000       1.14910
+++ ChangeLog   4 Dec 2008 07:03:53 -0000       1.14911
@@ -1,5 +1,16 @@
 2008-12-04  Glenn Morris  <address@hidden>
 
+       * vc-cvs.el (vc-cvs-register-switches): Doc fix.  Add t as option.
+       (vc-cvs-register): Doc fix.
+       * vc-mcvs.el (vc-mcvs-register-switches): Doc fix.  Add t as option.
+       (vc-mcvs-register): Doc fix.
+       * vc-rcs.el (vc-rcs-register-switches): Doc fix.  Add t as option.
+       (vc-rcs-register): Doc fix.
+       * vc-sccs.el (vc-sccs-register-switches): Doc fix.  Add t as option.
+       (vc-sccs-register): Doc fix.
+       * vc-svn.el (vc-svn-register-switches): Doc fix.  Add t as option.
+       (vc-svn-register): Doc fix.
+
        * files.el (toggle-read-only): Doc fix.
 
 2008-12-03  Stefan Monnier  <address@hidden>

Index: vc-svn.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/vc-svn.el,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -b -r1.105 -r1.106
--- vc-svn.el   3 Dec 2008 07:41:10 -0000       1.105
+++ vc-svn.el   4 Dec 2008 07:03:56 -0000       1.106
@@ -52,14 +52,14 @@
   :group 'vc)
 
 (defcustom vc-svn-register-switches nil
-  "Extra switches for registering a file into SVN.
+  "Switches for registering a file into SVN.
 A string or list of strings passed to the checkin program by
-\\[vc-register]."
-  :type '(choice (const :tag "None" nil)
+\\[vc-register].  If nil, use the value of `vc-register-switches'.
+If t, use no switches."
+  :type '(choice (const :tag "Unspecified" nil)
+                (const :tag "None" t)
                 (string :tag "Argument String")
-                (repeat :tag "Argument List"
-                        :value ("")
-                        string))
+                (repeat :tag "Argument List" :value ("") string))
   :version "22.1"
   :group 'vc)
 
@@ -256,13 +256,11 @@
   (vc-do-command "*vc*" 0 vc-svn-program '(".")
                 "checkout" (concat "file://" default-directory "SVN")))
 
-;; FIXME doc is wrong re switches.
 (defun vc-svn-register (files &optional rev comment)
   "Register FILES into the SVN version-control system.
 The COMMENT argument is ignored  This does an add but not a commit.
-
-`vc-register-switches' and `vc-svn-register-switches' are passed to
-the SVN command (in that order)."
+Passes either `vc-svn-register-switches' or `vc-register-switches'
+to the SVN command."
   (apply 'vc-svn-command nil 0 files "add" (vc-switches 'SVN 'register)))
 
 (defun vc-svn-responsible-p (file)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]