changeset 95959:22820f8cee46

(vc-cvs-status-extra-headers): Don't match newline when parsing CVS/Repository.
author Andreas Schwab <schwab@suse.de>
date Sun, 15 Jun 2008 10:29:13 +0000
parents fbdde312e09d
children f104cdfcb450
files lisp/ChangeLog lisp/vc-cvs.el
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Jun 15 10:13:24 2008 +0000
+++ b/lisp/ChangeLog	Sun Jun 15 10:29:13 2008 +0000
@@ -1,5 +1,8 @@
 2008-06-15  Andreas Schwab  <schwab@suse.de>
 
+	* vc-cvs.el (vc-cvs-status-extra-headers): Don't match newline
+	when parsing CVS/Repository.
+
 	* wdired.el (wdired-search-and-rename): Fix undocumented change.
 
 2008-06-15  Ulf Jasper  <ulf@web.de>
--- a/lisp/vc-cvs.el	Sun Jun 15 10:13:24 2008 +0000
+++ b/lisp/vc-cvs.el	Sun Jun 15 10:29:13 2008 +0000
@@ -942,7 +942,7 @@
 	     (with-temp-buffer
 	       (insert-file-contents "CVS/Repository")
 	       (goto-char (point-min))
-	       (re-search-forward "[^/]*" nil t)
+	       (re-search-forward "[^/\n]*" nil t)
 	       (concat (match-string 0) "\n"))
 	   (file-error nil))))
     (concat