aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorDan Nicolaescu <[email protected]>2008-04-12 16:33:24 +0000
committerDan Nicolaescu <[email protected]>2008-04-12 16:33:24 +0000
commit07d5b8c101fe83ae92a2e14dbad9044984b732fb (patch)
tree953eb8dce905b28cbd29d8d24412855a99669057 /lisp
parent470fc3548e6d31ee172802c7ff3b1c97988c9ff5 (diff)
(vc-cvs-registered): Allow removed files to be
considered registered.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/vc-cvs.el3
2 files changed, 6 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 763c1f3413..dac4bdaa45 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-12 Dan Nicolaescu <[email protected]>
+
+ * vc-cvs.el (vc-cvs-registered): Allow removed files to be
+ considered registered.
+
2008-04-12 Reiner Steib <[email protected]>
* emacs-lisp/copyright.el (copyright-update-directory): New
diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el
index 80c8e526ec..dc60d6a173 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)