User: scop
Date: 05/11/02 20:03:12
Modified: packages/unsupported/scop/vc ChangeLog vc-cvs.el vc-sccs.el
vc.el
Log:
Sync vc with upstream.
Revision Changes Path
1.48 +1 -1 XEmacs/packages/unsupported/scop/STATUS
Index: STATUS
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/unsupported/scop/STATUS,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -p -r1.47 -r1.48
--- STATUS 2005/10/08 15:07:39 1.47
+++ STATUS 2005/11/02 19:03:08 1.48
@@ -17,5 +17,5 @@ generic-modes: generic.el and generic-x.
- Compiles, seems to work, auto-mode-alist and autoloads may need spanking.
vc: vc*.el and a few other related files from GNU Emacs
-- Up to date with GNU Emacs CVS HEAD as of 2005-10-08.
+- Up to date with GNU Emacs CVS HEAD as of 2005-11-02.
- Compiles, something even works.
1.31 +4 -0 XEmacs/packages/unsupported/scop/vc/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/unsupported/scop/vc/ChangeLog,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -p -r1.30 -r1.31
--- ChangeLog 2005/10/08 13:35:00 1.30
+++ ChangeLog 2005/11/02 19:03:11 1.31
@@ -1,3 +1,7 @@
+2005-11-02 Ville Skyttä <scop(a)xemacs.org>
+
+ * vc.el, vc-cvs.el, vc-sccs.el: Sync with upstream.
+
2005-10-08 Ville Skyttä <scop(a)xemacs.org>
* log-edit.el, vc.el, vc-mcvs.el: Sync with upstream.
1.13 +4 -1 XEmacs/packages/unsupported/scop/vc/vc-cvs.el
Index: vc-cvs.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/unsupported/scop/vc/vc-cvs.el,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- vc-cvs.el 2005/08/16 18:38:13 1.12
+++ vc-cvs.el 2005/11/02 19:03:11 1.13
@@ -459,7 +459,10 @@ REV is the revision to check out into WO
(message "Checking out %s...done" filename)))))
(defun vc-cvs-delete-file (file)
- (vc-cvs-command nil 0 file "remove" "-f"))
+ (vc-cvs-command nil 0 file "remove" "-f")
+ ;; XEmacs change: don't commit it (vc-{arch,svn} nor old vc-cvs don't either)
+ ;;(vc-cvs-command nil 0 file "commit" "-mRemoved.")
+ )
(defun vc-cvs-revert (file &optional contents-done)
"Revert FILE to the version it was based on."
1.5 +1 -1 XEmacs/packages/unsupported/scop/vc/vc-sccs.el
Index: vc-sccs.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/unsupported/scop/vc/vc-sccs.el,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- vc-sccs.el 2005/08/16 18:38:13 1.4
+++ vc-sccs.el 2005/11/02 19:03:11 1.5
@@ -1,7 +1,7 @@
;;; vc-sccs.el --- support for SCCS version-control
;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
-;; 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+;; 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
;; Author: FSF (see vc.el for full credits)
;; Maintainer: Andre Spiegel <spiegel(a)gnu.org>
1.20 +10 -4 XEmacs/packages/unsupported/scop/vc/vc.el
Index: vc.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/packages/unsupported/scop/vc/vc.el,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- vc.el 2005/10/08 14:43:00 1.19
+++ vc.el 2005/11/02 19:03:11 1.20
@@ -551,7 +551,7 @@ These are passed to the checkin program
:group 'vc
:version "20.3")
-(defcustom vc-directory-exclusion-list '("SCCS" "RCS" "CVS" "MCVS" ".svn")
+(defcustom vc-directory-exclusion-list '("SCCS" "RCS" "CVS" "MCVS" ".svn" "{arch}")
"*List of directory names to be ignored when walking directory trees."
:type '(repeat string)
:group 'vc)
@@ -2077,10 +2077,13 @@ There is a special command, `*l', to mar
;; when vc-dired-mode-map is initialized.
(set-keymap-parent vc-dired-mode-map dired-mode-map)
(add-hook 'dired-after-readin-hook 'vc-dired-hook nil t)
- ;; The following is slightly modified from dired.el,
+ ;; The following is slightly modified from files.el,
;; because file lines look a bit different in vc-dired-mode
;; (the column before the date does not end in a digit).
- (set (make-local-variable 'dired-move-to-filename-regexp)
+ ;; albinus: It should be done in the original declaration. Problem
+ ;; is the optional empty state-info; otherwise ")" would be good
+ ;; enough as delimeter.
+ (set (make-local-variable 'directory-listing-before-filename-regexp)
(let* ((l "\\([A-Za-z]\\|[^\0-\177]\\)")
;; In some locales, month abbreviations are as short as 2 letters,
;; and they can be followed by ".".
@@ -2610,9 +2613,12 @@ By default, this command cycles through
To get a prompt, use a prefix argument."
(interactive
(list
- buffer-file-name
+ (or buffer-file-name
+ (error "There is no version-controlled file in this buffer"))
(let ((backend (vc-backend buffer-file-name))
(backends nil))
+ (unless backend
+ (error "File %s is not under version control" buffer-file-name))
;; Find the registered backends.
(dolist (backend vc-handled-backends)
(when (vc-call-backend backend 'registered buffer-file-name)