diff lisp/vc-rcs.el @ 87432:315124ffb889

* (vc.el, vc-sccs.el, vc-rcs.el, vc-cs.el, vc-mcvs.el): Put machinery in place to support editing of change comments with 'e' in a log-view buffer. Not documented yet as this only works for SCCS, RCS, and maybe CVS if you have admin privileges. When we have backend support for Subversion and more modern systems it will ve time to write this up.
author Eric S. Raymond <esr@snark.thyrsus.com>
date Thu, 27 Dec 2007 11:26:27 +0000
parents 8ba0e30716a5
children 107ccd98fa12 56a72e2bd635
line wrap: on
line diff
--- a/lisp/vc-rcs.el	Thu Dec 27 10:28:28 2007 +0000
+++ b/lisp/vc-rcs.el	Thu Dec 27 11:26:27 2007 +0000
@@ -510,6 +510,11 @@
   ;; expanded headers.
   (vc-do-command nil 0 "co" (vc-name file) "-f" (concat "-l" rev)))
 
+(defun vc-rcs-modify-change-comment (files rev comment)
+  "Modify the change comments change on FILES on a specified REV."
+  (dolist (file files)
+    (vc-do-command nil 0 "rcs" (vc-name file) 
+		   (concat "-m" comment ":" rev))))
 
 
 ;;;