From: Eli Zaretskii Date: Sat, 19 Sep 2015 17:57:59 +0000 (+0300) Subject: Adapt vc-src to the old-new vc-checkin API X-Git-Tag: emacs-25.0.90~1224^2~78 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2ebcda4da0683f0c9102779bde13843795d6db78;p=emacs.git Adapt vc-src to the old-new vc-checkin API * lisp/vc/vc-src.el (vc-src-checkin): Accept and ignore an additional optional parameter. --- diff --git a/lisp/vc/vc-src.el b/lisp/vc/vc-src.el index d9aa1b13e88..69e403668b1 100644 --- a/lisp/vc/vc-src.el +++ b/lisp/vc/vc-src.el @@ -227,7 +227,7 @@ This function differs from vc-do-command in that it invokes `vc-src-program'." file (file-name-directory file))))) -(defun vc-src-checkin (files comment) +(defun vc-src-checkin (files comment &optional _rev) "SRC-specific version of `vc-backend-checkin'. REV is ignored." (vc-src-command nil files "commit" "-m" comment))