summaryrefslogtreecommitdiff
path: root/lisp/vc-mcvs.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
commit4649a43d86b4d53dc2b21cc08b8d3d5d7cb9ecf1 (patch)
treef0387f0f1c0fe3cb948131f46526344c74765e0e /lisp/vc-mcvs.el
parentdf6d68c8f0ea83527b0aa7770df9f21b8d72a3c2 (diff)
downloademacs-4649a43d86b4d53dc2b21cc08b8d3d5d7cb9ecf1.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-mcvs.el')
-rw-r--r--lisp/vc-mcvs.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/vc-mcvs.el b/lisp/vc-mcvs.el
index 70d502c7670..ba0ccf47747 100644
--- a/lisp/vc-mcvs.el
+++ b/lisp/vc-mcvs.el
@@ -432,6 +432,12 @@ The changes are between FIRST-REVISION and SECOND-REVISION."
(error "Couldn't analyze mcvs update result")))
(message "Merging changes into %s...done" file))))
+(defun vc-mcvs-modify-change-comment (files rev comment)
+ "Modify the change comments for FILES on a specified REV.
+Will fail unless you have administrative privileges on the repo."
+ (vc-mcvs-command nil 0 files "rcs" (concat "-m" comment ":" rev)))
+
+
;;;
;;; History functions
;;;