summaryrefslogtreecommitdiff
path: root/lisp/vc-rcs.el
diff options
context:
space:
mode:
authorEric S. Raymond <esr@snark.thyrsus.com>2007-12-27 11:26:27 +0000
committerEric S. Raymond <esr@snark.thyrsus.com>2007-12-27 11:26:27 +0000
commit9b64a7f0cf4d2fb716182d26046f645ec58210b3 (patch)
tree85caeda743cf28835e983261d5088e562c95d05f /lisp/vc-rcs.el
parent86c3a9fbd94ebdd7c4c8ddc2e671290327eefe2c (diff)
downloademacs-9b64a7f0cf4d2fb716182d26046f645ec58210b3.tar.gz
* (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.
Diffstat (limited to 'lisp/vc-rcs.el')
-rw-r--r--lisp/vc-rcs.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/vc-rcs.el b/lisp/vc-rcs.el
index 35eba607bea..a092a91e918 100644
--- a/lisp/vc-rcs.el
+++ b/lisp/vc-rcs.el
@@ -510,6 +510,11 @@ Needs RCS 5.6.2 or later for -M."
;; 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))))
;;;