comparison lisp/vc.el @ 51369:91b1fb194872

(vc-directory-exclusion-list): Add MCVS and .svn. (vc-checkin-hook): Adjust option to new name.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 31 May 2003 16:47:57 +0000
parents f6920b201e1c
children 1329f6a6c949
comparison
equal deleted inserted replaced
51368:cc73795bc08a 51369:91b1fb194872
5 5
6 ;; Author: FSF (see below for full credits) 6 ;; Author: FSF (see below for full credits)
7 ;; Maintainer: Andre Spiegel <spiegel@gnu.org> 7 ;; Maintainer: Andre Spiegel <spiegel@gnu.org>
8 ;; Keywords: tools 8 ;; Keywords: tools
9 9
10 ;; $Id: vc.el,v 1.353 2003/05/18 02:53:24 monnier Exp $ 10 ;; $Id: vc.el,v 1.354 2003/05/26 10:33:00 spiegel Exp $
11 11
12 ;; This file is part of GNU Emacs. 12 ;; This file is part of GNU Emacs.
13 13
14 ;; GNU Emacs is free software; you can redistribute it and/or modify 14 ;; GNU Emacs is free software; you can redistribute it and/or modify
15 ;; it under the terms of the GNU General Public License as published by 15 ;; it under the terms of the GNU General Public License as published by
60 ;; 60 ;;
61 ;; Proper function of the SCCS diff commands requires the shellscript vcdiff 61 ;; Proper function of the SCCS diff commands requires the shellscript vcdiff
62 ;; to be installed somewhere on Emacs's path for executables. 62 ;; to be installed somewhere on Emacs's path for executables.
63 ;; 63 ;;
64 ;; If your site uses the ChangeLog convention supported by Emacs, the 64 ;; If your site uses the ChangeLog convention supported by Emacs, the
65 ;; function vc-comment-to-change-log should prove a useful checkin hook. 65 ;; function log-edit-comment-to-change-log could prove a useful checkin hook,
66 ;; although you might prefer to use C-c C-a (i.e. log-edit-insert-changelog)
67 ;; from the commit buffer instead or to set `log-edit-setup-invert'.
66 ;; 68 ;;
67 ;; The vc code maintains some internal state in order to reduce expensive 69 ;; The vc code maintains some internal state in order to reduce expensive
68 ;; version-control operations to a minimum. Some names are only computed 70 ;; version-control operations to a minimum. Some names are only computed
69 ;; once. If you perform version control operations with RCS/SCCS/CVS while 71 ;; once. If you perform version control operations with RCS/SCCS/CVS while
70 ;; vc's back is turned, or move/rename master files while vc is running, 72 ;; vc's back is turned, or move/rename master files while vc is running,
516 "*If non-nil, show only locked files in VC Dired." 518 "*If non-nil, show only locked files in VC Dired."
517 :type 'boolean 519 :type 'boolean
518 :group 'vc 520 :group 'vc
519 :version "20.3") 521 :version "20.3")
520 522
521 (defcustom vc-directory-exclusion-list '("SCCS" "RCS" "CVS") 523 (defcustom vc-directory-exclusion-list '("SCCS" "RCS" "CVS" "MCVS" ".svn")
522 "*List of directory names to be ignored when walking directory trees." 524 "*List of directory names to be ignored when walking directory trees."
523 :type '(repeat string) 525 :type '(repeat string)
524 :group 'vc) 526 :group 'vc)
525 527
526 (defcustom vc-diff-switches nil 528 (defcustom vc-diff-switches nil
556 :group 'vc) 558 :group 'vc)
557 559
558 ;;;###autoload 560 ;;;###autoload
559 (defcustom vc-checkin-hook nil 561 (defcustom vc-checkin-hook nil
560 "*Normal hook (list of functions) run after a checkin is done. 562 "*Normal hook (list of functions) run after a checkin is done.
561 See `run-hooks'." 563 See also `log-edit-done-hook'."
562 :type 'hook 564 :type 'hook
563 :options '(vc-comment-to-change-log) 565 :options '(log-edit-comment-to-change-log)
564 :group 'vc) 566 :group 'vc)
565 567
566 ;;;###autoload 568 ;;;###autoload
567 (defcustom vc-before-checkin-hook nil 569 (defcustom vc-before-checkin-hook nil
568 "*Normal hook (list of functions) run before a file is checked in. 570 "*Normal hook (list of functions) run before a file is checked in.