diff options
author | Eli Zaretskii <eliz@gnu.org> | 2015-09-19 13:31:38 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2015-09-19 13:31:38 +0300 |
commit | 9ea6c4df441d85be44dadad4fbd57d2c0f3be4f1 (patch) | |
tree | 1c933c1e1395c932b867bee0e507125ae577483b /lisp/vc/vc-mtn.el | |
parent | ba3495674e8c6c98f2f180908b2af600a2bd3d2e (diff) | |
download | emacs-9ea6c4df441d85be44dadad4fbd57d2c0f3be4f1.tar.gz |
Resurrect the ability to specify a revision in vc-next-action
* lisp/vc/vc-bzr.el (vc-bzr-checkin):
* lisp/vc/vc-dav.el (vc-dav-checkin):
* lisp/vc/vc-git.el (vc-git-checkin):
* lisp/vc/vc-hg.el (vc-hg-checkin):
* lisp/vc/vc-mtn.el (vc-mtn-checkin): Accept and silently ignore
an additional optional argument, the revision to checkin.
* lisp/vc/vc-sccs.el (vc-sccs-checkin):
* lisp/vc/vc-cvs.el (vc-cvs-checkin):
* lisp/vc/vc-rcs.el (vc-rcs-checkin): Allow to optionally specify
a revision to checkin.
* lisp/vc/vc.el (vc-next-action): Allow to optionally specify the
revision when checking in files.
See http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg00688.html
for the details.
Diffstat (limited to 'lisp/vc/vc-mtn.el')
-rw-r--r-- | lisp/vc/vc-mtn.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/vc-mtn.el b/lisp/vc/vc-mtn.el index 685ef3b6742..b56a08f2a9e 100644 --- a/lisp/vc/vc-mtn.el +++ b/lisp/vc/vc-mtn.el @@ -199,7 +199,7 @@ switches." (declare-function log-edit-extract-headers "log-edit" (headers string)) -(defun vc-mtn-checkin (files comment) +(defun vc-mtn-checkin (files comment &optional _rev) (apply 'vc-mtn-command nil 0 files (nconc (list "commit" "-m") (log-edit-extract-headers '(("Author" . "--author") |