emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 a590713: Pass SVN commit message through log-edit


From: Dmitry Gutov
Subject: [Emacs-diffs] emacs-25 a590713: Pass SVN commit message through log-edit-extract-headers
Date: Wed, 25 Nov 2015 02:15:16 +0000

branch: emacs-25
commit a59071372884552279edf9c62bfb1aa558ec6db2
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    Pass SVN commit message through log-edit-extract-headers
    
    * lisp/vc/vc-svn.el (vc-svn-checkin): Pass COMMENT through
    log-edit-extract-headers (bug#18954).
---
 lisp/vc/vc-svn.el |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/lisp/vc/vc-svn.el b/lisp/vc/vc-svn.el
index de58fb9..62689a3 100644
--- a/lisp/vc/vc-svn.el
+++ b/lisp/vc/vc-svn.el
@@ -313,7 +313,8 @@ to the SVN command."
   "SVN-specific version of `vc-backend-checkin'."
   (let ((status (apply
                  'vc-svn-command nil 1 files "ci"
-                 (nconc (list "-m" comment) (vc-switches 'SVN 'checkin)))))
+                 (nconc (cons "-m" (log-edit-extract-headers comment))
+                        (vc-switches 'SVN 'checkin)))))
     (set-buffer "*vc*")
     (goto-char (point-min))
     (unless (equal status 0)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]