Mercurial > emacs
diff lisp/vc-mcvs.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 | c0ee02a9ac55 |
children | c5df210848ca |
line wrap: on
line diff
--- a/lisp/vc-mcvs.el Thu Dec 27 10:28:28 2007 +0000 +++ b/lisp/vc-mcvs.el Thu Dec 27 11:26:27 2007 +0000 @@ -432,6 +432,12 @@ (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 ;;;