From: Sam Steingold Date: Thu, 18 Feb 2010 19:55:41 +0000 (-0500) Subject: (vc-cvs-merge-news): Yet another fix of message parsing. X-Git-Tag: emacs-pretest-23.1.93~34 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ff6b00de888a44fcb01fb68c870db08509640d52;p=emacs.git (vc-cvs-merge-news): Yet another fix of message parsing. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1549c42ebcc..7bbc41aff63 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2010-02-18 Sam Steingold + + * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing. + 2010-02-18 Stefan Monnier Use abbreviated file names in bookmarks (bug#5591). diff --git a/lisp/vc-cvs.el b/lisp/vc-cvs.el index e521f608209..1abef9f48b8 100644 --- a/lisp/vc-cvs.el +++ b/lisp/vc-cvs.el @@ -459,8 +459,8 @@ The changes are between FIRST-REVISION and SECOND-REVISION." (if (re-search-forward (concat "^\\([CMUP] \\)?" (regexp-quote - (substring file (length (expand-file-name - "." default-directory)))) + (substring file (1+ (length (expand-file-name + "." default-directory))))) "\\( already contains the differences between \\)?") nil t) (cond