[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/vc-fossil f07cd00 108/111: Upstream updates
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/vc-fossil f07cd00 108/111: Upstream updates |
Date: |
Wed, 29 Sep 2021 08:59:31 -0400 (EDT) |
branch: elpa/vc-fossil
commit f07cd00609d365904bdda3b0a276f550d655668a
Author: venks1 <venksi@gmail.com>
Commit: GitHub <noreply@github.com>
Upstream updates
vc-fossil-repository-url, vc-fossil-find-ignore-file. Update API docs
---
vc-fossil.el | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/vc-fossil.el b/vc-fossil.el
index 74bc4c4..67921a8 100644
--- a/vc-fossil.el
+++ b/vc-fossil.el
@@ -48,7 +48,7 @@
;; * find-revision (file rev buffer) OK
;; * checkout (file &optional rev) OK
;; * revert (file &optional contents-done) OK
-;; - merge-file (file &optional rev1 rev2) ??
+;; - merge-file (file &optional rev1 rev2) ??
;; - merge-branch () ??
;; - merge-news (file) ??
;; - pull (prompt) OK
@@ -61,7 +61,7 @@
;; * print-log (files buffer &optional shortlog start-revision limit) OK
;; * log-outgoing (buffer remote-location) ??
;; * log-incoming (buffer remote-location) ??
-;; - log-search (buffer pattern) ??
+;; - log-search (buffer pattern) ??
;; - log-view-mode () OK
;; - show-log-entry (revision) ??
;; - comment-history (file) ??
@@ -83,6 +83,7 @@
;; - root (file) OK
;; - ignore (file &optional directory remove) ??
;; - ignore-completion-table (directory) ??
+;; - find-ignore-file file OK
;; - previous-revision (file rev) OK
;; - next-revision (file rev) OK
;; - log-edit-mode () ??
@@ -93,6 +94,7 @@
;; - extra-menu () ??
;; - extra-dir-menu () ??
;; - conflicted-files (dir) ??
+;; - repository-url (file-or-dir &optional remote-name) OK
;;; Code:
@@ -191,6 +193,12 @@
(defun vc-fossil--propertize-header-line (name value)
(concat (propertize name 'face 'font-lock-type-face)
(propertize value 'face 'font-lock-variable-name-face)))
+
+(defun vc-fossil--remotes ()
+ (let ((remotes '()))
+ (dolist (l (split-string (vc-fossil--run "remote" "list") "\n" t))
+ (push (split-string l) remotes))
+ remotes))
;; Customization
@@ -532,6 +540,10 @@ If nil, use the value of `vc-diff-switches'. If t, use no
switches."
;; - ignore-completion-table
+(defun vc-fossil-find-ignore-file (file)
+ (expand-file-name ".fossil-settings/ignore-glob"
+ (vc-fossil-root file)))
+
(defun vc-fossil-previous-revision (file rev)
(with-temp-buffer
(cond
@@ -581,6 +593,10 @@ If nil, use the value of `vc-diff-switches'. If t, use no
switches."
;; - extra-dir-menu ()
;; - conflicted-files (dir)
+
+(defun vc-fossil-repository-url (file-or-dir &optional remote-name)
+ (let ((default-directory (vc-fossil-root file-or-dir)))
+ (cadr (assoc (or remote-name "default") (vc-fossil--remotes)))))
;;; This snippet enables the Fossil VC backend so it will work once
;;; this file is loaded. By also marking it for inclusion in the
- [nongnu] elpa/vc-fossil 7bb3121 093/111: Push changes from pdo, (continued)
- [nongnu] elpa/vc-fossil 7bb3121 093/111: Push changes from pdo, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 7815c30 111/111: vc-fossil.el: Update from fossil., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 31b0ee6 106/111: From ams: Work better when operating under a subdirectory. vc-fossil.el (vc-fossil--classify-all-files): List only files under directory we are in. (vc-fossil-dir-status-files): Since we are in DIR; don't try to figure out the relative name of the file., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil da4d895 084/111: Refactored header-line propertizing function., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 9f90307 097/111: Add changes from pdo, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 7e84860 091/111: Attempted pushes. Sigh, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 73c5145 088/111: Tweaked :synchro and :checkout header line formats., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil d9190c0 100/111: Fossil at the end of the VC backends list., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 5d66231 107/111: Changes from upstream, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 4254ef5 104/111: Get changes from upstream upto 2020-09-20, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil f07cd00 108/111: Upstream updates,
ELPA Syncer <=
- [nongnu] elpa/vc-fossil acb773e 098/111: Merge Changes, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil abdb548 099/111: Update to pdo's latest, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil f365e43 110/111: vc-fossil.el: Update from fossil., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 9e52264 028/111: emacs style (cont), some logic issues seem apparent..., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 7c5af95 102/111: enable Fossil VC backend at load / autoload time, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 93c2104 101/111: Merge pull request #1 from barak/trunk, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil bf1969f 033/111: Undo file-truename in log because emacs-23.3.1 gives relative names which confuse fossil., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil c058f3d 039/111: Remove debug message from `vc-fossil-after-dir-status`., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil f4795ba 044/111: Pass `vc-checkout-switches` on checkout., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 6619ffb 048/111: Improve log command., ELPA Syncer, 2021/09/29