From: Dan Nicolaescu Date: Sat, 12 Apr 2008 16:33:24 +0000 (+0000) Subject: (vc-cvs-registered): Allow removed files to be X-Git-Tag: emacs-pretest-23.0.90~6304 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=07d5b8c101fe83ae92a2e14dbad9044984b732fb;p=emacs.git (vc-cvs-registered): Allow removed files to be considered registered. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 763c1f3413f..dac4bdaa452 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-04-12 Dan Nicolaescu + + * vc-cvs.el (vc-cvs-registered): Allow removed files to be + considered registered. + 2008-04-12 Reiner Steib * emacs-lisp/copyright.el (copyright-update-directory): New diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el index 80c8e526ecd..dc60d6a1738 100644 --- a/lisp/vc-cvs.el +++ b/lisp/vc-cvs.el @@ -179,8 +179,7 @@ See also variable `vc-cvs-sticky-date-format-string'." (goto-char (point-min)) (cond ((re-search-forward - ;; CVS-removed files are not taken under VC control. - (concat "^/" (regexp-quote basename) "/[^/-]") nil t) + (concat "^/" (regexp-quote basename) "/[^/]") nil t) (beginning-of-line) (vc-cvs-parse-entry file) t)