]> git.eshelyaron.com Git - emacs.git/commit
Support amending the last commit using VC-Hg
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 20 Apr 2019 21:39:36 +0000 (00:39 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 20 Apr 2019 21:39:36 +0000 (00:39 +0300)
commit70f3175738225252acc5041b210c5b39376af1a1
tree2e54a2eb90aa3647b28f3794e96d374fc2bf11ec
parent6d1025f944128391a27b388d4cb34d187a0a26b9
Support amending the last commit using VC-Hg

* lisp/vc/log-edit.el (log-edit--toggle-amend): Extract from
vc-git-log-edit-toggle-amend (bug#34944).

* lisp/vc/vc-hg.el (vc-hg-log-edit-toggle-amend): New function.
Use the aforementioned.
(vc-hg-log-edit-mode-map): New variable.
(vc-hg-log-edit-mode): New major mode.
lisp/vc/log-edit.el
lisp/vc/vc-git.el
lisp/vc/vc-hg.el