; * lisp/vc/vc.el (vc-clone): Fix wording of doc string.
This commit is contained in:
parent
383ccf6d51
commit
647cecc853
1 changed files with 10 additions and 5 deletions
|
@ -3676,11 +3676,16 @@ to provide the `find-revision' operation instead."
|
||||||
(vc-call-backend (vc-backend buffer-file-name) 'check-headers))
|
(vc-call-backend (vc-backend buffer-file-name) 'check-headers))
|
||||||
|
|
||||||
(defun vc-clone (remote &optional backend directory rev)
|
(defun vc-clone (remote &optional backend directory rev)
|
||||||
"Use BACKEND to clone REMOTE into DIRECTORY.
|
"Clone repository REMOTE using version-control BACKEND, into DIRECTORY.
|
||||||
If successful, returns the string with the directory of the
|
If successful, return the string with the directory of the checkout;
|
||||||
checkout. If BACKEND is nil, iterate through every known backend
|
otherwise return nil.
|
||||||
in `vc-handled-backends' until one succeeds. If REV is non-nil,
|
REMOTE should be a string, the URL of the remote repository or the name
|
||||||
it indicates a specific revision to check out."
|
of a directory (if the repository is local).
|
||||||
|
If DIRECTORY is nil or omitted, it defaults to `default-directory'.
|
||||||
|
If BACKEND is nil or omitted, the function iterates through every known
|
||||||
|
backend in `vc-handled-backends' until one succeeds to clone REMOTE.
|
||||||
|
If REV is non-nil, it indicates a specific revision to check out after
|
||||||
|
cloning; the syntax of REV depends on what BACKEND accepts."
|
||||||
(unless directory
|
(unless directory
|
||||||
(setq directory default-directory))
|
(setq directory default-directory))
|
||||||
(if backend
|
(if backend
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue