Source

pcl-cvs / pcl-cvs-defs.el

Full commit
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
;;; pcl-cvs-defs.el

(defconst rcsid-pcl-cvs-defs "$Id$")

(defconst pcl-cvs-version "2.9.4")

;; Copyright (C) 1991-1999  Per Cederqvist
;;
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2 of the License, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program; if not, write to the Free Software
;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

(require 'pcl-cvs-util)
(require 'pcl-cvs-compat)

;;;; -------------------------------------------------------
;;;;	    START OF THINGS TO CHECK WHEN INSTALLING

(defvar cvs-program "cvs"
  "*Name or full path of the cvs executable.")

(defvar cvs-version
  (ignore-errors
    (let ((str (file-to-string "cvs" nil '("-v"))))
      (when (string-match "(CVS) \\([0-9]+\\)\\.\\([0-9]+\\)" str)
	(cons (string-to-number (substring str (match-beginning 1) (match-end 1)))
	      (string-to-number (substring str (match-beginning 2) (match-end 2)))))))
  "*Version of `cvs' installed on your system.
It must be in the (CONS MAJOR MINOR) format.")

;; FIXME: this is only used by cvs-mode-diff-backup
(defvar cvs-diff-program (or (and (boundp 'diff-command) diff-command) "diff")
  "*Name or full path of the best diff program you've got.
NOTE:  there are some nasty bugs in the context diff variants of some vendor
versions, such as the one in SunOS-4.")

;;;	     END OF THINGS TO CHECK WHEN INSTALLING
;;; --------------------------------------------------------

;;;
;;;	User configuration variables:
;;;
;;; NOTE: these should be set in your ~/.emacs (or site-lisp/default.el) file.
;;;

(defgroup pcl-cvs nil
  "Special support for the CVS versioning system."
  :group 'tools
  :prefix 'cvs-)

;;
;;  cvsrc options
;;

(defvar cvs-cvsrc-file "~/.cvsrc"
  "Path to your cvsrc file.")

(defun cvs-cvsrc-get (cmd cvsrc)
  (when (string-match (concat "^" cmd "\\s-\\(.*\\)$") cvsrc)
    (string->strings (substring cvsrc (match-beginning 1) (match-end 1)))))

;; read the cvsrc file.  This should really be a `let', but if I use
;; such a `let' enclosing the few defvars that follow, the compiler complains
;; that those vars are not known.
(defvar cvs-cvsrc (or (file-to-string cvs-cvsrc-file) ""))

;; For cvs flags, we need to add "-f" to override the cvsrc settings
;; we also want to evict the annoying -q and -Q options that hide useful
;; information from pcl-cvs.
(defvar cvs-cvs-flags (cons "-f"
			    (set-difference (cvs-cvsrc-get "cvs" cvs-cvsrc)
					    '("-q" "-Q") :test 'equal))
  "*The list of flags to pass to cvs.")

(defvar cvs-update-cmd-flags (cvs-cvsrc-get "update" cvs-cvsrc)
  "*List of strings to use as optional flags to pass to ``cvs update''.  Used
by cvs-update, and cvs-examine.  Default is none.

For example set this to \"-j VENDOR_PREV_RELEASE -j VENDOR_TOP_RELEASE\" to
perform an update after a new vendor release has been imported.")
  
(defvar cvs-status-cmd-flags (cvs-cvsrc-get "status" cvs-cvsrc)
"*List of strings to pass to ``cvs status'' via cvs-status.
If you have `cvs -q' in your .cvsrc file, you probably want to set this
to '(\"-l\") since cvs doesn't output enough directory information in such
a case.")
  
(defvar cvs-checkout-cmd-flags (cvs-cvsrc-get "checkout" cvs-cvsrc)
"*List of strings to pass to ``cvs checkout'' via cvs-checkout.")
  
(defvar cvs-status-flags (cvs-cvsrc-get "status" cvs-cvsrc)
"*List of strings to pass to ``cvs status'' via cvs-mode-status.")
  
(defvar cvs-log-flags (cvs-cvsrc-get "log" cvs-cvsrc)
"*List of strings to pass to ``cvs log'' via cvs-mode-log.")
  
(defvar cvs-diff-flags (or (cvs-cvsrc-get "diff" cvs-cvsrc) '("-u"))
"*List of strings to use as flags to pass to ``diff'' and ``cvs diff''.  Used
by cvs-mode-diff-*.  The default is '(\"-u\").  Set this to '(\"-u\") to get a
Unidiff format, or '(\"-c\") to get context diffs.")
  
(defvar cvs-tag-flags (cvs-cvsrc-get "tag" cvs-cvsrc)
"*List of extra flags to pass to ``cvs tag''.  Default is none.")
  
(defvar cvs-rtag-flags (cvs-cvsrc-get "rtag" cvs-cvsrc)
"*List of extra flags to pass to ``cvs rtag''.  Default is none.")
  
(defvar cvs-add-flags (cvs-cvsrc-get "add" cvs-cvsrc)
"*List of strings to use as flags to pass to ``cvs add''.
Default is none.")
  
(defvar cvs-commit-flags (cvs-cvsrc-get "commit" cvs-cvsrc)
"*List of strings to use as flags to pass to ``cvs commit''.
Default is none.")
  
(defvar cvs-remove-flags (cvs-cvsrc-get "remove" cvs-cvsrc)
"*List of strings to use as flags to pass to ``cvs remove''.
Default is none.")
  
(defvar cvs-undo-flags (cvs-cvsrc-get "update" cvs-cvsrc)
"*List of strings to use as flags to pass to ``cvs update'' from
`cvs-mode-undo-local-changes'.  Default is none.")

(defvar cvs-update-flags (cvs-cvsrc-get "update" cvs-cvsrc)
"*List of strings to use as flags to pass to ``cvs update'' from
`cvs-mode-update'.  Default is none.")

;; free the cvsrc content now that we've gone through it
(setq cvs-cvsrc ())

(defvar cvs-cvsroot nil
  "*Specifies where the (current) cvs master repository is.
Overrides the environment variable $CVSROOT by sending \" -d dir\" to
all CVS commands. This switch is useful if you have multiple CVS
repositories. It can be set interactively with M-x cvs-change-cvsroot.
There is no need to set this if $CVSROOT is set to a correct value.")

(defvar cvs-erase-input-buffer nil
  "*Non-nil if input buffers should be cleared before asking for new info.")

(defcustom cvs-auto-remove-handled nil
  "*Non-nil if cvs-mode-remove-handled should be called automatically.
If this is set to any non-nil value entries that does not need to be
checked in will be removed from the *cvs* buffer after every command."
  :group 'pcl-cvs
  :type '(boolean))

(defcustom cvs-auto-remove-directories 'handled
  "*If 'all, directory entries will never be shown.
If HANLDED, only non-handled directories will be shown."
  :group 'pcl-cvs
  :type '(choice (const :tag "No" nil) (const :tag "Yes" t) (const handled)))

(defcustom cvs-sort-ignore-file t
  "*Non-nil if cvs-mode-ignore should sort the .cvsignore automatically."
  :group 'pcl-cvs
  :type '(boolean))

(defcustom cvs-auto-revert t
  "*Non-nil if changed files should automatically be reverted."
  :group 'pcl-cvs
  :type '(boolean))

(defcustom cvs-default-ignore-marks nil
  "*Non-nil if non-diffing cvs mode commands should ignore any marked files.
Normally they run on the files that are marked (with cvs-mode-mark),
or the file under the cursor if no files are marked.  If this variable
is set to a non-nil value they will by default run on the file on the
current line.  See also `cvs-diff-ignore-marks'"
  :group 'pcl-cva
  :type '(boolean))

(defcustom cvs-diff-ignore-marks t
  "*Non-nil if cvs-diff and cvs-mode-diff-backup should ignore any marked files.
Normally they run diff on the files that are marked (with cvs-mode-mark),
or the file under the cursor if no files are marked.  If this variable
is set to a non-nil value they will by default run diff on the file on the
current line."
  :group 'pcl-cvs
  :type '(boolean))

(defcustom cvs-confirm-removals t
  "*Ask for confirmation before removing files.
This only applies to files whose content cannot be recovered (i.e. not
under cvs control or locally modified)."
  :group 'pcl-cvs
  :type '(boolean))

(defcustom cvs-add-default-message nil
  "*Default message to use when adding files.
If set to NIL, cvs-mode-add will always prompt for a message."
  :group 'pcl-cvs
  :type '(choice (const :tag "Prompt" nil)
		 (string)))

(defcustom cvs-diff-buffer-name "*cvs-diff*"
  "*Name of buffer used for diff's output.
This can be an expression and will be evaluated."
  :group 'pcl-cvs
  :type '(choice (const "*cvs-diff*")
		 (const "*vc-diff*")
		 (const (format "*cvs-%s %s%s*" filter dir file))
		 (sexp :value "my-cvs-diff-buffer")))

(defvar cvs-buffer-name '(expand-file-name "*cvs*" dir) ;; "*cvs*"
  "Name of the cvs buffer.
This expression will be evaluated in an environment where DIR is set to
the directory name of the cvs buffer.")

(defvar cvs-temp-buffer-name '(expand-file-name "*cvs-tmp*" dir)
  "*Name of the cvs temporary buffer.
Output from cvs is placed here by synchronous commands.")

(defvar cvs-commit-prompt-buffer "*cvs-commit-message*"
  "Name of buffer in which the user is prompted for a log message when
committing files.")

(defvar cvs-commit-buffer-require-final-newline t
  "*t says silently put a newline at the end of commit log messages.
Non-nil but not t says ask user whether to add a newline in each such case.
nil means do not add newlines.")

(defvar cvs-changelog-full-paragraphs t
  "*If non-nil, include full ChangeLog paragraphs in the CVS log.
This may be set in the ``local variables'' section of a ChangeLog, to
indicate the policy for that ChangeLog.

A ChangeLog paragraph is a bunch of log text containing no blank lines;
a paragraph usually describes a set of changes with a single purpose,
but perhaps spanning several functions in several files.  Changes in
different paragraphs are unrelated.

You could argue that the CVS log entry for a file should contain the
full ChangeLog paragraph mentioning the change to the file, even though
it may mention other files, because that gives you the full context you
need to understand the change.  This is the behaviour you get when this
variable is set to t.

On the other hand, you could argue that the CVS log entry for a change
should contain only the text for the changes which occurred in that
file, because the CVS log is per-file.  This is the behaviour you get
when this variable is set to nil.")

;; You are NOT allowed to disable this message by default.  However, you
;; are encouraged to inform your users that by adding
;;	(setq cvs-inhibit-copyright-message t)
;; to their .emacs they can get rid of it.  Just don't add that line
;; to your default.el!
(defcustom cvs-inhibit-copyright-message nil
  "*Non-nil means don't display a Copyright message in the ``*cvs*'' buffer.
You probably want to turn this on."
  :group 'pcl-cvs
  :type '(boolean))

(defcustom cvs-idiff-imerge-handlers
  (if (fboundp 'ediff)
      '(cvs-ediff-diff . cvs-ediff-merge)
    '(cvs-emerge-diff . cvs-emerge-merge))
  "*Pair of functions to be used for resp. diff'ing and merg'ing interactively."
  :group 'pcl-cvs
  :type '(choice (const :tag "Ediff" (cvs-ediff-diff . cvs-ediff-merge))
		 (const :tag "Emerge" (cvs-emerge-diff . cvs-emerge-merge))))

(defvar cvs-idiff-version "BASE"
  "*Version against which to run idiff.")

(defvar pcl-cvs-load-hook nil
  "Run after loading pcl-cvs.")

;;;
;;; Internal variables, used in the process buffer.
;;;

(defvar cvs-buffer nil
  "(Buffer local) The *cvs* buffer associated with this process buffer.")

(defvar cvs-postprocess nil
  "(Buffer local) what to do once the process exits.")

;;;
;;; Internal variables for the *cvs* buffer.
;;;

(defcustom cvs-reuse-cvs-buffer 'subdir
  "When to reuse an existing cvs buffer.
Alternatives are:
 CURRENT: just reuse the current buffer if it is a cvs buffer
 SAMEDIR: reuse any cvs buffer displaying the same directory
 SUBDIR:  or reuse any cvs buffer displaying any sub- or super- directory
 ALWAYS:  reuse any cvs buffer."
  :group 'pcl-cvs
  :type '(choice (const always) (const subdir) (const samedir) (const current)))

(defvar cvs-process nil
  "(Buffer local) The process associated with this *cvs* buffer.")

(defvar cvs-temp-buffer nil
  "(Buffer local) The temporary buffer associated with this *cvs* buffer.")

(defvar cvs-lock-file nil
  "Full path to a lock file that CVS is waiting for (or was waiting for).
This variable is buffer local and only used in the *cvs* buffer.")

(defvar cvs-lock-file-regexp "^#cvs.\\([trw]fl.[0-9]+\\|lock\\)\\'"
  "Regexp matching the possible names of locks in the CVS repository.")

(defconst cvs-cursor-column 22
  "Column to position cursor in in cvs-mode.
Column 0 is left-most column.")

;;;
;;; Internal variables for the *cvs-commit-message* buffer.
;;;

(defvar cvs-edit-mode-map
  (let ((map (make-sparse-keymap)))
    (define-prefix-command 'cvs-edit-mode-control-c-prefix)
    (dolist (binding
	     '(("\C-c" . cvs-edit-mode-control-c-prefix)
	       ("\C-c\C-c" . cvs-edit-done)
	       ("\C-c?" . cvs-edit-mode-help)))
      (define-key map (car binding) (cdr binding)))
    map)
  "Keymap for the cvs edit mode (used when editing cvs log messages).")

(defvar cvs-edit-mode-hook (and (boundp 'vc-log-mode-hook) vc-log-mode-hook)
  "*Hook run at the end of cvs-edit-mode.")

;;;
;;; Global internal variables
;;;

(defvar cvs-process-running nil
  "This is set to nil when no process is running, and to
the process when a cvs update process is running.")

(defvar cvs-cookie-handle nil
  "Handle for the cookie structure that is displayed in the *cvs* buffer.")
;;(make-variable-buffer-local 'cvs-cookie-handle)

(defconst cvs-startup-message
  (if cvs-inhibit-copyright-message
      (concat "PCL-CVS release " pcl-cvs-version)
    (concat "PCL-CVS release " pcl-cvs-version
	    ".  Copyright (C) 1991-1998 Per Cederqvist
Pcl-cvs comes with absolutely no warranty; for details consult the manual.
This is free software, and you are welcome to redistribute it under certain
conditions; again, consult the Texinfo manual for details."))
  "*Startup message for CVS.")

(defconst cvs-vendor-branch "1.1.1"
  "The default branch used by CVS for vendor code.")

(defvar cvs-menu
  '("CVS"
    ["Find File"		cvs-mode-find-file		t]
    ["Find File Other Window"	cvs-mode-find-file-other-window	t]
    ["Interactively Merge"	cvs-mode-imerge			t]
    ["Interactively Diff"	cvs-mode-idiff                  t]
    ["Diff against Repository"	cvs-mode-diff			(cvs-enabledp 'diff)]
    ["Diff against Backup"	cvs-mode-diff-backup		(cvs-enabledp 'diff-backup)]
    "----"
    ["Commit Changes"		cvs-mode-commit			(cvs-enabledp 'commit)]
    ["ChangeLog Commit Changes" cvs-mode-changelog-commit	(cvs-enabledp 'commit)]
    ["Revert File from Repository" cvs-mode-undo-local-changes	(cvs-enabledp 'undo)]
    ["Add File to Repository"	cvs-mode-add			(cvs-enabledp 'add)]
    ["Update"			cvs-mode-update			(cvs-enabledp 'update)]
    ["Re-Examine"		cvs-mode-examine		t]
    ["Remove File"		cvs-mode-remove			(cvs-enabledp 'remove)]
    ["Ignore File"		cvs-mode-ignore			(cvs-enabledp 'ignore)]
    ["Hide File"		cvs-mode-acknowledge		t]
    "----"
    ["Add ChangeLog Entry"   cvs-mode-add-change-log-entry-other-window t]
    ["Show CVS Log"		cvs-mode-log			t]
    ["Show CVS Status"		cvs-mode-status			t]
    "----"
    ["Mark File"		cvs-mode-mark			t]
    ["Unmark File"		cvs-mode-unmark			t]
    ["Mark All Files"		cvs-mode-mark-all-files		t]
    ["Unmark All Files"		cvs-mode-unmark-all-files	t]
    ["Hide Handled Files"	cvs-mode-remove-handled		t]
    "----"
    ["Update Directory"		cvs-update			t]
    ["Examine Directory"	cvs-examine			t]
    ["Status Directory"		cvs-status			t]
    ["Checkout Module"		cvs-checkout			t]
    "----"
    ["Quit"			cvs-mode-quit			t]
    ))

(defvar cvs-mode-map
  (let ((map (make-keymap)))
    (define-prefix-command 'cvs-mode-map-diff-prefix)
    ;;(define-prefix-command 'cvs-mode-map-control-c-prefix)
    (suppress-keymap map)
    (substitute-key-definition 'undo 'cvs-mode-undo-local-changes
			       map global-map)
    (dolist (binding
	     ;; misc keys
	     '(("?" .	cvs-help)
	       ("h" .	cvs-help)
	       ("q" .	cvs-mode-quit)
	       ("F" .	cvs-mode-set-flags)
	       ;; marking
	       ("m" .	cvs-mode-mark)
	       ("M" .	cvs-mode-mark-all-files)
	       ("u" .	cvs-mode-unmark)
	       ("\C-?".	cvs-mode-unmark-up)
	       ("%" .	cvs-mode-mark-matching-files)
	       ("T" .	cvs-mode-toggle-marks)
	       ("\M-\C-?" .	cvs-mode-unmark-all-files)
	       ;; navigation keys
	       (" " .	cvs-mode-next-line)
	       ("n" .	cvs-mode-next-line)
	       ("p" .	cvs-mode-previous-line)
	       ;; M- keys are usually those that operate on modules
	       ("\M-C".	cvs-mode-rcs2log) ; i.e. "Create a ChangeLog"
	       ("\M-t".	cvs-mode-rtag)
	       ("\M-c".	cvs-checkout)
	       ("\M-e".	cvs-examine)
	       ("g" .	cvs-mode-revert-buffer)
	       ("\M-u".	cvs-update)
	       ("\M-s".	cvs-status)
	       ;; diff commands
	       ("=" .	cvs-mode-diff)
	       ("d" .	cvs-mode-map-diff-prefix)
	       ("d=" .	cvs-mode-diff)
	       ("db" .	cvs-mode-diff-backup)
	       ("dd" .	cvs-mode-diff)
	       ("dh" .	cvs-mode-diff-head)
	       ("dv" .	cvs-mode-diff-vendor)
	       ;;("d?" . cvs-mode-diff-help)
	       ("de" .	cvs-mode-idiff)
	       ("dE" .	cvs-mode-imerge)
	       ;; keys that operate on individual files
	       ("\C-k".	cvs-mode-acknowledge)
	       ("A" .	cvs-mode-add-change-log-entry-other-window)
	       ("B" .	cvs-mode-byte-compile-files)
	       ("C" .	cvs-mode-changelog-commit)
	       ("O" .	cvs-mode-update)
	       ("U" .	cvs-mode-undo-local-changes)
	       ("I" .   cvs-mode-insert)
	       ("a" .	cvs-mode-add)
	       ("b" .	cvs-set-branch-prefix)
	       ("c" .	cvs-mode-commit)
	       ("e" .	cvs-mode-examine)
	       ("f" .	cvs-mode-find-file)
	       ("i" .	cvs-mode-ignore)
	       ("l" .	cvs-mode-log)
	       ("o" .	cvs-mode-find-file-other-window)
	       ("r" .	cvs-mode-remove)
	       ("s" .	cvs-mode-status)
	       ("t" .	cvs-mode-tag)
	       ;;("v" .	cvs-mode-diff-vendor)
	       ("x" .	cvs-mode-remove-handled)
	       ;; mouse bindings
	       ([(down-mouse-3)] . cvs-menu)))
      (define-key map (car binding) (cdr binding)))
    ;; add the cvs-menu to the map so it's added whenever we are in cvs-mode
    (when (ignore-errors (require 'easymenu))
      (easy-menu-define cvs-menu-map
			map
			"Menu used in cvs-mode."
			cvs-menu))
    map)
  "Keymap for the cvs mode.")


;;;###autoload
(let ((f (cond
	  ;; XEmacs
	  ((string-match "XEmacs" emacs-version)
	   (when (and (featurep 'menubar)
		      (not (featurep 'pcl-cvs-xemacs))
		      (not (featurep 'infodock)))
	     (lambda (menu) (add-submenu '("Tools") menu))))
	  ;; Emacs.  Might work with XEmacs.
	  ((and (ignore-errors (require 'easymenu))
		(fboundp 'easy-menu-add-item))
	   (lambda (menu) (easy-menu-add-item nil '("tools") menu "vc")))
	  ;; cop out
	  (t (lambda (menu) nil)))))
  (funcall f '("PCL CVS"
	       ["Update Directory"    cvs-update    t]
	       ["Examine Directory"   cvs-examine   t]
	       ["Status Directory"    cvs-status    t]
	       ["Checkout Module"     cvs-checkout  t])))


;; cvs-1.10 and above can take file arguments in other directories
;; while others need to be executed once per directory
(defvar cvs-execute-single-dir
  (not (and (consp cvs-version)
	    (or (= (car cvs-version) 1) (>= (cdr cvs-version) 10)
		(> (car cvs-version) 1))))
  "Whether cvs commands should be executed a directory at a time.
CVS versions before 1.10 did not allow passing them arguments in different
directories, so pcl-cvs checks what version you're using to determine
whether to use the new feature or not.
Sadly, even with a new cvs executable, if you connect to an older cvs server
(typically a cvs-1.9 on the server), the old restriction applies.  In such
a case the sanity check made by pcl-cvs fails and you will have to manually
set this variable to T (until the cvs server is upgraded).
When the above problem occurs, pcl-cvs should (hopefully) catch cvs' error
message and replace it with a message tell you to change this variable.")

;;
(provide 'pcl-cvs-defs)