aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/vc
diff options
context:
space:
mode:
authorJoakim Verona2012-03-06 09:23:09 +0100
committerJoakim Verona2012-03-06 09:23:09 +0100
commit28485daaf752ff5264ed2f6a32ec15588beaa929 (patch)
treea480205aa664c61b1d212833144c0a2d44f7ac01 /lisp/vc
parente8e42079e76ca6255bbd53312994ba8e1b3b0ee8 (diff)
parent2e86d8576c668e149cc100f3222bcf19b38019dc (diff)
downloademacs-28485daaf752ff5264ed2f6a32ec15588beaa929.tar.gz
emacs-28485daaf752ff5264ed2f6a32ec15588beaa929.zip
upstream
Diffstat (limited to 'lisp/vc')
-rw-r--r--lisp/vc/diff-mode.el6
-rw-r--r--lisp/vc/ediff-util.el2
-rw-r--r--lisp/vc/vc-arch.el11
-rw-r--r--lisp/vc/vc-bzr.el6
-rw-r--r--lisp/vc/vc-cvs.el21
-rw-r--r--lisp/vc/vc-git.el18
-rw-r--r--lisp/vc/vc-hg.el13
-rw-r--r--lisp/vc/vc-mtn.el11
-rw-r--r--lisp/vc/vc-rcs.el17
-rw-r--r--lisp/vc/vc-sccs.el13
-rw-r--r--lisp/vc/vc-svn.el15
11 files changed, 88 insertions, 45 deletions
diff --git a/lisp/vc/diff-mode.el b/lisp/vc/diff-mode.el
index ba4a2766526..16e33889c31 100644
--- a/lisp/vc/diff-mode.el
+++ b/lisp/vc/diff-mode.el
@@ -1,6 +1,6 @@
1;;; diff-mode.el --- a mode for viewing/editing context diffs -*- lexical-binding: t -*- 1;;; diff-mode.el --- a mode for viewing/editing context diffs -*- lexical-binding: t -*-
2 2
3;; Copyright (C) 1998-2012 Free Software Foundation, Inc. 3;; Copyright (C) 1998-2012 Free Software Foundation, Inc.
4 4
5;; Author: Stefan Monnier <monnier@iro.umontreal.ca> 5;; Author: Stefan Monnier <monnier@iro.umontreal.ca>
6;; Keywords: convenience patch diff vc 6;; Keywords: convenience patch diff vc
@@ -27,7 +27,7 @@
27;; to the corresponding source file. 27;; to the corresponding source file.
28 28
29;; Inspired by Pavel Machek's patch-mode.el (<pavel@@atrey.karlin.mff.cuni.cz>) 29;; Inspired by Pavel Machek's patch-mode.el (<pavel@@atrey.karlin.mff.cuni.cz>)
30;; Some efforts were spent to have it somewhat compatible with XEmacs' 30;; Some efforts were spent to have it somewhat compatible with XEmacs's
31;; diff-mode as well as with compilation-minor-mode 31;; diff-mode as well as with compilation-minor-mode
32 32
33;; Bugs: 33;; Bugs:
@@ -121,7 +121,7 @@ when editing big diffs)."
121 ("{" . diff-file-prev) 121 ("{" . diff-file-prev)
122 ("\C-m" . diff-goto-source) 122 ("\C-m" . diff-goto-source)
123 ([mouse-2] . diff-goto-source) 123 ([mouse-2] . diff-goto-source)
124 ;; From XEmacs' diff-mode. 124 ;; From XEmacs's diff-mode.
125 ("W" . widen) 125 ("W" . widen)
126 ;;("." . diff-goto-source) ;display-buffer 126 ;;("." . diff-goto-source) ;display-buffer
127 ;;("f" . diff-goto-source) ;find-file 127 ;;("f" . diff-goto-source) ;find-file
diff --git a/lisp/vc/ediff-util.el b/lisp/vc/ediff-util.el
index 87740cdc75a..78a2163f653 100644
--- a/lisp/vc/ediff-util.el
+++ b/lisp/vc/ediff-util.el
@@ -3103,7 +3103,7 @@ Hit \\[ediff-recenter] to reset the windows afterward."
3103;; according to context. 3103;; according to context.
3104;; If DEFAULT-FILE is set, it should be used as the default value. 3104;; If DEFAULT-FILE is set, it should be used as the default value.
3105;; If DEFAULT-DIR is non-nil, use it as the default directory. 3105;; If DEFAULT-DIR is non-nil, use it as the default directory.
3106;; Otherwise, use the value of Emacs' variable `default-directory.' 3106;; Otherwise, use the value of `default-directory.'
3107(defun ediff-read-file-name (prompt default-dir default-file &optional no-dirs) 3107(defun ediff-read-file-name (prompt default-dir default-file &optional no-dirs)
3108 ;; hack default-dir if it is not set 3108 ;; hack default-dir if it is not set
3109 (setq default-dir 3109 (setq default-dir
diff --git a/lisp/vc/vc-arch.el b/lisp/vc/vc-arch.el
index 7502bc28c5f..052e6784b08 100644
--- a/lisp/vc/vc-arch.el
+++ b/lisp/vc/vc-arch.el
@@ -65,6 +65,11 @@
65;;; Customization options 65;;; Customization options
66;;; 66;;;
67 67
68(defgroup vc-arch nil
69 "VC Arch backend."
70 :version "24.1"
71 :group 'vc)
72
68;; It seems Arch diff does not accept many options, so this is not 73;; It seems Arch diff does not accept many options, so this is not
69;; very useful. It exists mainly so that the VC backends are all 74;; very useful. It exists mainly so that the VC backends are all
70;; consistent with regards to their treatment of diff switches. 75;; consistent with regards to their treatment of diff switches.
@@ -76,7 +81,7 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
76 (string :tag "Argument String") 81 (string :tag "Argument String")
77 (repeat :tag "Argument List" :value ("") string)) 82 (repeat :tag "Argument List" :value ("") string))
78 :version "23.1" 83 :version "23.1"
79 :group 'vc) 84 :group 'vc-arch)
80 85
81(define-obsolete-variable-alias 'vc-arch-command 'vc-arch-program "23.1") 86(define-obsolete-variable-alias 'vc-arch-command 'vc-arch-program "23.1")
82 87
@@ -87,7 +92,7 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
87 (or (car candidates) "tla")) 92 (or (car candidates) "tla"))
88 "Name of the Arch executable." 93 "Name of the Arch executable."
89 :type 'string 94 :type 'string
90 :group 'vc) 95 :group 'vc-arch)
91 96
92;; Clear up the cache to force vc-call to check again and discover 97;; Clear up the cache to force vc-call to check again and discover
93;; new functions when we reload this file. 98;; new functions when we reload this file.
@@ -377,7 +382,7 @@ CALLBACK expects (ENTRIES &optional MORE-TO-COME); see
377 '(("\\`.*--\\(.*--.*\\)--\\(v?\\).*-\\([0-9]+\\)\\'" . "\\2\\3[\\1]")) 382 '(("\\`.*--\\(.*--.*\\)--\\(v?\\).*-\\([0-9]+\\)\\'" . "\\2\\3[\\1]"))
378 "Rewrite rules to shorten Arch's revision names on the mode-line." 383 "Rewrite rules to shorten Arch's revision names on the mode-line."
379 :type '(repeat (cons regexp string)) 384 :type '(repeat (cons regexp string))
380 :group 'vc) 385 :group 'vc-arch)
381 386
382(defun vc-arch-mode-line-string (file) 387(defun vc-arch-mode-line-string (file)
383 "Return string for placement in modeline by `vc-mode-line' for FILE." 388 "Return string for placement in modeline by `vc-mode-line' for FILE."
diff --git a/lisp/vc/vc-bzr.el b/lisp/vc/vc-bzr.el
index e64f05130a3..9f35fc8f035 100644
--- a/lisp/vc/vc-bzr.el
+++ b/lisp/vc/vc-bzr.el
@@ -1,6 +1,6 @@
1;;; vc-bzr.el --- VC backend for the bzr revision control system 1;;; vc-bzr.el --- VC backend for the bzr revision control system
2 2
3;; Copyright (C) 2006-2012 Free Software Foundation, Inc. 3;; Copyright (C) 2006-2012 Free Software Foundation, Inc.
4 4
5;; Author: Dave Love <fx@gnu.org> 5;; Author: Dave Love <fx@gnu.org>
6;; Riccardo Murri <riccardo.murri@gmail.com> 6;; Riccardo Murri <riccardo.murri@gmail.com>
@@ -56,7 +56,7 @@
56(put 'Bzr 'vc-functions nil) 56(put 'Bzr 'vc-functions nil)
57 57
58(defgroup vc-bzr nil 58(defgroup vc-bzr nil
59 "VC bzr backend." 59 "VC Bazaar (bzr) backend."
60 :version "22.2" 60 :version "22.2"
61 :group 'vc) 61 :group 'vc)
62 62
@@ -431,7 +431,7 @@ If any error occurred in running `bzr status', then return nil."
431 (skip-chars-forward " \n\t") ;Throw away spaces. 431 (skip-chars-forward " \n\t") ;Throw away spaces.
432 (cons status 432 (cons status
433 ;; "bzr" will output warnings and informational messages to 433 ;; "bzr" will output warnings and informational messages to
434 ;; stderr; due to Emacs' `vc-do-command' (and, it seems, 434 ;; stderr; due to Emacs's `vc-do-command' (and, it seems,
435 ;; `start-process' itself) limitations, we cannot catch stderr 435 ;; `start-process' itself) limitations, we cannot catch stderr
436 ;; and stdout into different buffers. So, if there's anything 436 ;; and stdout into different buffers. So, if there's anything
437 ;; left in the buffer after removing the above status 437 ;; left in the buffer after removing the above status
diff --git a/lisp/vc/vc-cvs.el b/lisp/vc/vc-cvs.el
index 720df27f442..2d8d132a249 100644
--- a/lisp/vc/vc-cvs.el
+++ b/lisp/vc/vc-cvs.el
@@ -59,6 +59,11 @@
59;;; Customization options 59;;; Customization options
60;;; 60;;;
61 61
62(defgroup vc-cvs nil
63 "VC CVS backend."
64 :version "24.1"
65 :group 'vc)
66
62(defcustom vc-cvs-global-switches nil 67(defcustom vc-cvs-global-switches nil
63 "Global switches to pass to any CVS command." 68 "Global switches to pass to any CVS command."
64 :type '(choice (const :tag "None" nil) 69 :type '(choice (const :tag "None" nil)
@@ -67,7 +72,7 @@
67 :value ("") 72 :value ("")
68 string)) 73 string))
69 :version "22.1" 74 :version "22.1"
70 :group 'vc) 75 :group 'vc-cvs)
71 76
72(defcustom vc-cvs-register-switches nil 77(defcustom vc-cvs-register-switches nil
73 "Switches for registering a file into CVS. 78 "Switches for registering a file into CVS.
@@ -79,7 +84,7 @@ If t, use no switches."
79 (string :tag "Argument String") 84 (string :tag "Argument String")
80 (repeat :tag "Argument List" :value ("") string)) 85 (repeat :tag "Argument List" :value ("") string))
81 :version "21.1" 86 :version "21.1"
82 :group 'vc) 87 :group 'vc-cvs)
83 88
84(defcustom vc-cvs-diff-switches nil 89(defcustom vc-cvs-diff-switches nil
85 "String or list of strings specifying switches for CVS diff under VC. 90 "String or list of strings specifying switches for CVS diff under VC.
@@ -89,13 +94,13 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
89 (string :tag "Argument String") 94 (string :tag "Argument String")
90 (repeat :tag "Argument List" :value ("") string)) 95 (repeat :tag "Argument List" :value ("") string))
91 :version "21.1" 96 :version "21.1"
92 :group 'vc) 97 :group 'vc-cvs)
93 98
94(defcustom vc-cvs-header '("\$Id\$") 99(defcustom vc-cvs-header '("\$Id\$")
95 "Header keywords to be inserted by `vc-insert-headers'." 100 "Header keywords to be inserted by `vc-insert-headers'."
96 :version "24.1" ; no longer consult the obsolete vc-header-alist 101 :version "24.1" ; no longer consult the obsolete vc-header-alist
97 :type '(repeat string) 102 :type '(repeat string)
98 :group 'vc) 103 :group 'vc-cvs)
99 104
100(defcustom vc-cvs-use-edit t 105(defcustom vc-cvs-use-edit t
101 "Non-nil means to use `cvs edit' to \"check out\" a file. 106 "Non-nil means to use `cvs edit' to \"check out\" a file.
@@ -103,7 +108,7 @@ This is only meaningful if you don't use the implicit checkout model
103\(i.e. if you have $CVSREAD set)." 108\(i.e. if you have $CVSREAD set)."
104 :type 'boolean 109 :type 'boolean
105 :version "21.1" 110 :version "21.1"
106 :group 'vc) 111 :group 'vc-cvs)
107 112
108(defcustom vc-cvs-stay-local 'only-file 113(defcustom vc-cvs-stay-local 'only-file
109 "Non-nil means use local operations when possible for remote repositories. 114 "Non-nil means use local operations when possible for remote repositories.
@@ -131,7 +136,7 @@ by these regular expressions."
131 :tag "if it matches") 136 :tag "if it matches")
132 (repeat :format "%v%i\n" :inline t (regexp :tag "or")))) 137 (repeat :format "%v%i\n" :inline t (regexp :tag "or"))))
133 :version "23.1" 138 :version "23.1"
134 :group 'vc) 139 :group 'vc-cvs)
135 140
136(defcustom vc-cvs-sticky-date-format-string "%c" 141(defcustom vc-cvs-sticky-date-format-string "%c"
137 "Format string for mode-line display of sticky date. 142 "Format string for mode-line display of sticky date.
@@ -139,7 +144,7 @@ Format is according to `format-time-string'. Only used if
139`vc-cvs-sticky-tag-display' is t." 144`vc-cvs-sticky-tag-display' is t."
140 :type '(string) 145 :type '(string)
141 :version "22.1" 146 :version "22.1"
142 :group 'vc) 147 :group 'vc-cvs)
143 148
144(defcustom vc-cvs-sticky-tag-display t 149(defcustom vc-cvs-sticky-tag-display t
145 "Specify the mode-line display of sticky tags. 150 "Specify the mode-line display of sticky tags.
@@ -178,7 +183,7 @@ displayed. Date and time is displayed for sticky dates.
178See also variable `vc-cvs-sticky-date-format-string'." 183See also variable `vc-cvs-sticky-date-format-string'."
179 :type '(choice boolean function) 184 :type '(choice boolean function)
180 :version "22.1" 185 :version "22.1"
181 :group 'vc) 186 :group 'vc-cvs)
182 187
183;;; 188;;;
184;;; Internal variables 189;;; Internal variables
diff --git a/lisp/vc/vc-git.el b/lisp/vc/vc-git.el
index 2715fdd142d..3ec32243796 100644
--- a/lisp/vc/vc-git.el
+++ b/lisp/vc/vc-git.el
@@ -109,6 +109,11 @@
109 (require 'vc-dir) 109 (require 'vc-dir)
110 (require 'grep)) 110 (require 'grep))
111 111
112(defgroup vc-git nil
113 "VC Git backend."
114 :version "24.1"
115 :group 'vc)
116
112(defcustom vc-git-diff-switches t 117(defcustom vc-git-diff-switches t
113 "String or list of strings specifying switches for Git diff under VC. 118 "String or list of strings specifying switches for Git diff under VC.
114If nil, use the value of `vc-diff-switches'. If t, use no switches." 119If nil, use the value of `vc-diff-switches'. If t, use no switches."
@@ -117,13 +122,13 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
117 (string :tag "Argument String") 122 (string :tag "Argument String")
118 (repeat :tag "Argument List" :value ("") string)) 123 (repeat :tag "Argument List" :value ("") string))
119 :version "23.1" 124 :version "23.1"
120 :group 'vc) 125 :group 'vc-git)
121 126
122(defcustom vc-git-program "git" 127(defcustom vc-git-program "git"
123 "Name of the Git executable (excluding any arguments)." 128 "Name of the Git executable (excluding any arguments)."
124 :version "24.1" 129 :version "24.1"
125 :type 'string 130 :type 'string
126 :group 'vc) 131 :group 'vc-git)
127 132
128(defcustom vc-git-root-log-format 133(defcustom vc-git-root-log-format
129 '("%d%h..: %an %ad %s" 134 '("%d%h..: %an %ad %s"
@@ -143,7 +148,7 @@ format string (which is passed to \"git log\" via the argument
143matching the resulting Git log output, and KEYWORDS is a list of 148matching the resulting Git log output, and KEYWORDS is a list of
144`font-lock-keywords' for highlighting the Log View buffer." 149`font-lock-keywords' for highlighting the Log View buffer."
145 :type '(list string string (repeat sexp)) 150 :type '(list string string (repeat sexp))
146 :group 'vc 151 :group 'vc-git
147 :version "24.1") 152 :version "24.1")
148 153
149(defvar vc-git-commits-coding-system 'utf-8 154(defvar vc-git-commits-coding-system 'utf-8
@@ -1103,8 +1108,11 @@ The difference to vc-do-command is that this function always invokes
1103(defun vc-git--call (buffer command &rest args) 1108(defun vc-git--call (buffer command &rest args)
1104 ;; We don't need to care the arguments. If there is a file name, it 1109 ;; We don't need to care the arguments. If there is a file name, it
1105 ;; is always a relative one. This works also for remote 1110 ;; is always a relative one. This works also for remote
1106 ;; directories. 1111 ;; directories. We enable `inhibit-null-byte-detection', otherwise
1107 (apply 'process-file vc-git-program nil buffer nil command args)) 1112 ;; Tramp's eol conversion might be confused.
1113 (let ((inhibit-null-byte-detection t)
1114 (process-environment (cons "PAGER=" process-environment)))
1115 (apply 'process-file vc-git-program nil buffer nil command args)))
1108 1116
1109(defun vc-git--out-ok (command &rest args) 1117(defun vc-git--out-ok (command &rest args)
1110 (zerop (apply 'vc-git--call '(t nil) command args))) 1118 (zerop (apply 'vc-git--call '(t nil) command args)))
diff --git a/lisp/vc/vc-hg.el b/lisp/vc/vc-hg.el
index 30c91ad3111..f3ba009b8c2 100644
--- a/lisp/vc/vc-hg.el
+++ b/lisp/vc/vc-hg.el
@@ -116,13 +116,18 @@
116 116
117;;; Customization options 117;;; Customization options
118 118
119(defgroup vc-hg nil
120 "VC Mercurial (hg) backend."
121 :version "24.1"
122 :group 'vc)
123
119(defcustom vc-hg-global-switches nil 124(defcustom vc-hg-global-switches nil
120 "Global switches to pass to any Hg command." 125 "Global switches to pass to any Hg command."
121 :type '(choice (const :tag "None" nil) 126 :type '(choice (const :tag "None" nil)
122 (string :tag "Argument String") 127 (string :tag "Argument String")
123 (repeat :tag "Argument List" :value ("") string)) 128 (repeat :tag "Argument List" :value ("") string))
124 :version "22.2" 129 :version "22.2"
125 :group 'vc) 130 :group 'vc-hg)
126 131
127(defcustom vc-hg-diff-switches t ; Hg doesn't support common args like -u 132(defcustom vc-hg-diff-switches t ; Hg doesn't support common args like -u
128 "String or list of strings specifying switches for Hg diff under VC. 133 "String or list of strings specifying switches for Hg diff under VC.
@@ -132,12 +137,12 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
132 (string :tag "Argument String") 137 (string :tag "Argument String")
133 (repeat :tag "Argument List" :value ("") string)) 138 (repeat :tag "Argument List" :value ("") string))
134 :version "23.1" 139 :version "23.1"
135 :group 'vc) 140 :group 'vc-hg)
136 141
137(defcustom vc-hg-program "hg" 142(defcustom vc-hg-program "hg"
138 "Name of the Mercurial executable (excluding any arguments)." 143 "Name of the Mercurial executable (excluding any arguments)."
139 :type 'string 144 :type 'string
140 :group 'vc) 145 :group 'vc-hg)
141 146
142(defcustom vc-hg-root-log-format 147(defcustom vc-hg-root-log-format
143 '("{rev}:{tags}: {author|person} {date|shortdate} {desc|firstline}\\n" 148 '("{rev}:{tags}: {author|person} {date|shortdate} {desc|firstline}\\n"
@@ -153,7 +158,7 @@ REGEXP is a regular expression matching the resulting Mercurial
153output, and KEYWORDS is a list of `font-lock-keywords' for 158output, and KEYWORDS is a list of `font-lock-keywords' for
154highlighting the Log View buffer." 159highlighting the Log View buffer."
155 :type '(list string string (repeat sexp)) 160 :type '(list string string (repeat sexp))
156 :group 'vc 161 :group 'vc-hg
157 :version "24.1") 162 :version "24.1")
158 163
159 164
diff --git a/lisp/vc/vc-mtn.el b/lisp/vc/vc-mtn.el
index d0727d9c0dc..122743c3747 100644
--- a/lisp/vc/vc-mtn.el
+++ b/lisp/vc/vc-mtn.el
@@ -34,6 +34,11 @@
34 34
35(eval-when-compile (require 'cl) (require 'vc)) 35(eval-when-compile (require 'cl) (require 'vc))
36 36
37(defgroup vc-mtn nil
38 "VC Monotone (mtn) backend."
39 :version "24.1"
40 :group 'vc)
41
37(defcustom vc-mtn-diff-switches t 42(defcustom vc-mtn-diff-switches t
38 "String or list of strings specifying switches for monotone diff under VC. 43 "String or list of strings specifying switches for monotone diff under VC.
39If nil, use the value of `vc-diff-switches'. If t, use no switches." 44If nil, use the value of `vc-diff-switches'. If t, use no switches."
@@ -42,13 +47,13 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
42 (string :tag "Argument String") 47 (string :tag "Argument String")
43 (repeat :tag "Argument List" :value ("") string)) 48 (repeat :tag "Argument List" :value ("") string))
44 :version "23.1" 49 :version "23.1"
45 :group 'vc) 50 :group 'vc-mtn)
46 51
47(define-obsolete-variable-alias 'vc-mtn-command 'vc-mtn-program "23.1") 52(define-obsolete-variable-alias 'vc-mtn-command 'vc-mtn-program "23.1")
48(defcustom vc-mtn-program "mtn" 53(defcustom vc-mtn-program "mtn"
49 "Name of the monotone executable." 54 "Name of the monotone executable."
50 :type 'string 55 :type 'string
51 :group 'vc) 56 :group 'vc-mtn)
52 57
53;; Clear up the cache to force vc-call to check again and discover 58;; Clear up the cache to force vc-call to check again and discover
54;; new functions when we reload this file. 59;; new functions when we reload this file.
@@ -153,7 +158,7 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
153 "Rewrite rules to shorten Mtn's revision names on the mode-line." 158 "Rewrite rules to shorten Mtn's revision names on the mode-line."
154 :type '(repeat (cons regexp string)) 159 :type '(repeat (cons regexp string))
155 :version "22.2" 160 :version "22.2"
156 :group 'vc) 161 :group 'vc-mtn)
157 162
158(defun vc-mtn-mode-line-string (file) 163(defun vc-mtn-mode-line-string (file)
159 "Return string for placement in modeline by `vc-mode-line' for FILE." 164 "Return string for placement in modeline by `vc-mode-line' for FILE."
diff --git a/lisp/vc/vc-rcs.el b/lisp/vc/vc-rcs.el
index f2122b60ce1..7e10372f362 100644
--- a/lisp/vc/vc-rcs.el
+++ b/lisp/vc/vc-rcs.el
@@ -41,13 +41,18 @@
41 (require 'cl) 41 (require 'cl)
42 (require 'vc)) 42 (require 'vc))
43 43
44(defgroup vc-rcs nil
45 "VC RCS backend."
46 :version "24.1"
47 :group 'vc)
48
44(defcustom vc-rcs-release nil 49(defcustom vc-rcs-release nil
45 "The release number of your RCS installation, as a string. 50 "The release number of your RCS installation, as a string.
46If nil, VC itself computes this value when it is first needed." 51If nil, VC itself computes this value when it is first needed."
47 :type '(choice (const :tag "Auto" nil) 52 :type '(choice (const :tag "Auto" nil)
48 (string :tag "Specified") 53 (string :tag "Specified")
49 (const :tag "Unknown" unknown)) 54 (const :tag "Unknown" unknown))
50 :group 'vc) 55 :group 'vc-rcs)
51 56
52(defcustom vc-rcs-register-switches nil 57(defcustom vc-rcs-register-switches nil
53 "Switches for registering a file in RCS. 58 "Switches for registering a file in RCS.
@@ -59,7 +64,7 @@ If t, use no switches."
59 (string :tag "Argument String") 64 (string :tag "Argument String")
60 (repeat :tag "Argument List" :value ("") string)) 65 (repeat :tag "Argument List" :value ("") string))
61 :version "21.1" 66 :version "21.1"
62 :group 'vc) 67 :group 'vc-rcs)
63 68
64(defcustom vc-rcs-diff-switches nil 69(defcustom vc-rcs-diff-switches nil
65 "String or list of strings specifying switches for RCS diff under VC. 70 "String or list of strings specifying switches for RCS diff under VC.
@@ -69,20 +74,20 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
69 (string :tag "Argument String") 74 (string :tag "Argument String")
70 (repeat :tag "Argument List" :value ("") string)) 75 (repeat :tag "Argument List" :value ("") string))
71 :version "21.1" 76 :version "21.1"
72 :group 'vc) 77 :group 'vc-rcs)
73 78
74(defcustom vc-rcs-header '("\$Id\$") 79(defcustom vc-rcs-header '("\$Id\$")
75 "Header keywords to be inserted by `vc-insert-headers'." 80 "Header keywords to be inserted by `vc-insert-headers'."
76 :type '(repeat string) 81 :type '(repeat string)
77 :version "24.1" ; no longer consult the obsolete vc-header-alist 82 :version "24.1" ; no longer consult the obsolete vc-header-alist
78 :group 'vc) 83 :group 'vc-rcs)
79 84
80(defcustom vc-rcsdiff-knows-brief nil 85(defcustom vc-rcsdiff-knows-brief nil
81 "Indicates whether rcsdiff understands the --brief option. 86 "Indicates whether rcsdiff understands the --brief option.
82The value is either `yes', `no', or nil. If it is nil, VC tries 87The value is either `yes', `no', or nil. If it is nil, VC tries
83to use --brief and sets this variable to remember whether it worked." 88to use --brief and sets this variable to remember whether it worked."
84 :type '(choice (const :tag "Work out" nil) (const yes) (const no)) 89 :type '(choice (const :tag "Work out" nil) (const yes) (const no))
85 :group 'vc) 90 :group 'vc-rcs)
86 91
87;;;###autoload 92;;;###autoload
88(defcustom vc-rcs-master-templates 93(defcustom vc-rcs-master-templates
@@ -95,7 +100,7 @@ For a description of possible values, see `vc-check-master-templates'."
95 (choice string 100 (choice string
96 function))) 101 function)))
97 :version "21.1" 102 :version "21.1"
98 :group 'vc) 103 :group 'vc-rcs)
99 104
100 105
101;;; Properties of the backend 106;;; Properties of the backend
diff --git a/lisp/vc/vc-sccs.el b/lisp/vc/vc-sccs.el
index 31637f5490e..0df307eda85 100644
--- a/lisp/vc/vc-sccs.el
+++ b/lisp/vc/vc-sccs.el
@@ -47,6 +47,11 @@
47;; :type '(repeat directory) 47;; :type '(repeat directory)
48;; :group 'vc) 48;; :group 'vc)
49 49
50(defgroup vc-sccs nil
51 "VC SCCS backend."
52 :version "24.1"
53 :group 'vc)
54
50(defcustom vc-sccs-register-switches nil 55(defcustom vc-sccs-register-switches nil
51 "Switches for registering a file in SCCS. 56 "Switches for registering a file in SCCS.
52A string or list of strings passed to the checkin program by 57A string or list of strings passed to the checkin program by
@@ -57,7 +62,7 @@ If t, use no switches."
57 (string :tag "Argument String") 62 (string :tag "Argument String")
58 (repeat :tag "Argument List" :value ("") string)) 63 (repeat :tag "Argument List" :value ("") string))
59 :version "21.1" 64 :version "21.1"
60 :group 'vc) 65 :group 'vc-sccs)
61 66
62(defcustom vc-sccs-diff-switches nil 67(defcustom vc-sccs-diff-switches nil
63 "String or list of strings specifying switches for SCCS diff under VC. 68 "String or list of strings specifying switches for SCCS diff under VC.
@@ -67,13 +72,13 @@ If nil, use the value of `vc-diff-switches'. If t, use no switches."
67 (string :tag "Argument String") 72 (string :tag "Argument String")
68 (repeat :tag "Argument List" :value ("") string)) 73 (repeat :tag "Argument List" :value ("") string))
69 :version "21.1" 74 :version "21.1"
70 :group 'vc) 75 :group 'vc-sccs)
71 76
72(defcustom vc-sccs-header '("%W%") 77(defcustom vc-sccs-header '("%W%")
73 "Header keywords to be inserted by `vc-insert-headers'." 78 "Header keywords to be inserted by `vc-insert-headers'."
74 :type '(repeat string) 79 :type '(repeat string)
75 :version "24.1" ; no longer consult the obsolete vc-header-alist 80 :version "24.1" ; no longer consult the obsolete vc-header-alist
76 :group 'vc) 81 :group 'vc-sccs)
77 82
78;;;###autoload 83;;;###autoload
79(defcustom vc-sccs-master-templates 84(defcustom vc-sccs-master-templates
@@ -86,7 +91,7 @@ For a description of possible values, see `vc-check-master-templates'."
86 (choice string 91 (choice string
87 function))) 92 function)))
88 :version "21.1" 93 :version "21.1"
89 :group 'vc) 94 :group 'vc-sccs)
90 95
91 96
92;;; 97;;;
diff --git a/lisp/vc/vc-svn.el b/lisp/vc/vc-svn.el
index b8a6a326ec1..6c2367c7ba6 100644
--- a/lisp/vc/vc-svn.el
+++ b/lisp/vc/vc-svn.el
@@ -39,11 +39,16 @@
39;;; Customization options 39;;; Customization options
40;;; 40;;;
41 41
42(defgroup vc-svn nil
43 "VC Subversion (svn) backend."
44 :version "24.1"
45 :group 'vc)
46
42;; FIXME there is also svnadmin. 47;; FIXME there is also svnadmin.
43(defcustom vc-svn-program "svn" 48(defcustom vc-svn-program "svn"
44 "Name of the SVN executable." 49 "Name of the SVN executable."
45 :type 'string 50 :type 'string
46 :group 'vc) 51 :group 'vc-svn)
47 52
48(defcustom vc-svn-global-switches nil 53(defcustom vc-svn-global-switches nil
49 "Global switches to pass to any SVN command." 54 "Global switches to pass to any SVN command."
@@ -53,7 +58,7 @@
53 :value ("") 58 :value ("")
54 string)) 59 string))
55 :version "22.1" 60 :version "22.1"
56 :group 'vc) 61 :group 'vc-svn)
57 62
58(defcustom vc-svn-register-switches nil 63(defcustom vc-svn-register-switches nil
59 "Switches for registering a file into SVN. 64 "Switches for registering a file into SVN.
@@ -65,7 +70,7 @@ If t, use no switches."
65 (string :tag "Argument String") 70 (string :tag "Argument String")
66 (repeat :tag "Argument List" :value ("") string)) 71 (repeat :tag "Argument List" :value ("") string))
67 :version "22.1" 72 :version "22.1"
68 :group 'vc) 73 :group 'vc-svn)
69 74
70(defcustom vc-svn-diff-switches 75(defcustom vc-svn-diff-switches
71 t ;`svn' doesn't support common args like -c or -b. 76 t ;`svn' doesn't support common args like -c or -b.
@@ -81,13 +86,13 @@ If you want to force an empty list of arguments, use t."
81 :value ("") 86 :value ("")
82 string)) 87 string))
83 :version "22.1" 88 :version "22.1"
84 :group 'vc) 89 :group 'vc-svn)
85 90
86(defcustom vc-svn-header '("\$Id\$") 91(defcustom vc-svn-header '("\$Id\$")
87 "Header keywords to be inserted by `vc-insert-headers'." 92 "Header keywords to be inserted by `vc-insert-headers'."
88 :version "24.1" ; no longer consult the obsolete vc-header-alist 93 :version "24.1" ; no longer consult the obsolete vc-header-alist
89 :type '(repeat string) 94 :type '(repeat string)
90 :group 'vc) 95 :group 'vc-svn)
91 96
92;; We want to autoload it for use by the autoloaded version of 97;; We want to autoload it for use by the autoloaded version of
93;; vc-svn-registered, but we want the value to be compiled at startup, not 98;; vc-svn-registered, but we want the value to be compiled at startup, not