summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-dav.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2015-09-19 13:31:38 +0300
committerEli Zaretskii <eliz@gnu.org>2015-09-19 13:31:38 +0300
commit9ea6c4df441d85be44dadad4fbd57d2c0f3be4f1 (patch)
tree1c933c1e1395c932b867bee0e507125ae577483b /lisp/vc/vc-dav.el
parentba3495674e8c6c98f2f180908b2af600a2bd3d2e (diff)
downloademacs-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-dav.el')
-rw-r--r--lisp/vc/vc-dav.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/vc/vc-dav.el b/lisp/vc/vc-dav.el
index 3326f2964c9..880e14be63e 100644
--- a/lisp/vc/vc-dav.el
+++ b/lisp/vc/vc-dav.el
@@ -82,7 +82,7 @@ See `vc-checkout-model' for a list of possible values."
;; Do we need to do anything here? FIXME?
)
-(defun vc-dav-checkin (url comment)
+(defun vc-dav-checkin (url comment &optional _rev)
"Commit changes in URL to WebDAV. COMMENT is used as a check-in comment."
;; This should PUT the resource and release any locks that we hold.
)