[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/vc-fossil 3455e4a 049/111: Access command switches by `vc-
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/vc-fossil 3455e4a 049/111: Access command switches by `vc-switches`. |
Date: |
Wed, 29 Sep 2021 08:59:19 -0400 (EDT) |
branch: elpa/vc-fossil
commit 3455e4a545b1d72e051ca7b451ddc036558b21d7
Author: fifr <fifr>
Commit: fifr <fifr>
Access command switches by `vc-switches`.
---
vc/el/vc-fossil.el | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/vc/el/vc-fossil.el b/vc/el/vc-fossil.el
index efa66fd..535f620 100644
--- a/vc/el/vc-fossil.el
+++ b/vc/el/vc-fossil.el
@@ -194,22 +194,16 @@ If `files` is nil return the status for all files."
(defun vc-fossil-checkin (files rev comment)
(apply 'vc-fossil-command nil 0 files "commit" "-m" comment
- (if (stringp vc-checkin-switches)
- (list vc-checkin-switches)
- vc-checkin-switches)))
+ (vc-switches 'Fossil 'checkin)))
(defun vc-fossil-find-revision (file rev buffer)
(if (zerop (length rev))
(apply #'vc-fossil-command buffer 0 file
"cat"
- (if (listp vc-checkout-switches)
- vc-checkout-switches
- (list vc-checkout-switches)))
+ (vc-switches 'Fossil 'checkout))
(apply #'vc-fossil-command buffer 0 file
"cat" "-r" rev
- (if (listp vc-checkout-switches)
- vc-checkout-switches
- (list vc-checkout-switches)))))
+ (vc-switches 'Fossil 'checkout))))
(defun vc-fossil-checkout (file &optional editable rev)
(apply #'vc-fossil-command nil 0 file
@@ -218,9 +212,7 @@ If `files` is nil return the status for all files."
((eq rev t) nil)
(rev (list rev))
(t nil))
- (if (listp vc-checkout-switches)
- vc-checkout-switches
- (list vc-checkout-switches)))))
+ (vc-switches 'Fossil 'checkout))))
(defun vc-fossil-revert (file &optional contents-done)
"Revert FILE to the version stored in the fossil repository."
- [nongnu] elpa/vc-fossil 419877b 030/111: squelch dead computation; clarify logic, (continued)
- [nongnu] elpa/vc-fossil 419877b 030/111: squelch dead computation; clarify logic, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 403712d 032/111: Fossil gets confused traversing through symlinks. Use file-truename in multiple places to get past that., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 9d2d9f8 038/111: Refactoring of `vc-fossil-dir-status`., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil c1585fc 040/111: Remove `vc-fossil-after-dir-status`., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 54df12a 045/111: Fix parameter passing in `vc-fossil-find-revision`., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 3c8fae8 016/111: Mulitple changes to allow 23.2 integration and to fix fossil-state-code incorrectly still using --file to update -n -v, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 9856860 021/111: appropriate autoload, and consistent "add fossil" expression in docs, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 1d46c62 027/111: eschew some redundancy, and use modern apply syntax, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 0497f8f 037/111: Remove some old debug messages., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil f69eac0 047/111: Add end-of-file comment., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 3455e4a 049/111: Access command switches by `vc-switches`.,
ELPA Syncer <=
- [nongnu] elpa/vc-fossil 4ce0039 052/111: Enable word-wrap with indentation in log view., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 03282dc 063/111: Implement next-revision command for whole repository., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil f68c80a 077/111: Merged enhanced vc-dir buffer header capability., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 6174102 078/111: Create README.md, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil b43a7e2 073/111: Added Emacs 25 compatibility., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 0aceef3 071/111: Add GPLv3 as the default license, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 6029bc2 082/111: Updates from pdo, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 4724850 089/111: Merged vc-push functionality and some code cleanups., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 8e34d7b 080/111: Added support for vc-push command., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 7f26034 087/111: Corrected vc-fossil-dir-status function., ELPA Syncer, 2021/09/29