[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/vc-fossil 31b0ee6 106/111: From ams: Work better when oper
From: |
ELPA Syncer |
Subject: |
[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. |
Date: |
Wed, 29 Sep 2021 08:59:30 -0400 (EDT) |
branch: elpa/vc-fossil
commit 31b0ee6285cca98d376eb5b6e1bc832c419c9fd0
Author: Venkat Iyer <venkat_iyer@apple.com>
Commit: Venkat Iyer <venkat_iyer@apple.com>
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.
---
vc-fossil.el | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/vc-fossil.el b/vc-fossil.el
index 22eb57b..ca9d426 100644
--- a/vc-fossil.el
+++ b/vc-fossil.el
@@ -180,7 +180,7 @@
(defun vc-fossil--classify-all-files (dir)
(setq vc-fossil--file-classifications nil)
(let* ((default-directory dir)
- (lines (split-string (vc-fossil--run "changes" "--classify" "--all")
"[\n\r]+" t)))
+ (lines (split-string (vc-fossil--run "changes" "--classify" "--all"
".") "[\n\r]+" t)))
(dolist (line lines)
(string-match "^\\(\\w+\\)\\s-+\\(.+\\)$" line)
(let ((pair (cons (match-string 2 line) (match-string 1 line))))
@@ -257,8 +257,6 @@ If nil, use the value of `vc-diff-switches'. If t, use no
switches."
(goto-char (point-max))
(let ((file (cadr (split-string line)))
(state (vc-fossil--state-code status-word)))
- (setq file (expand-file-name file root))
- (setq file (file-relative-name file dir))
;; If 'fossil update' says file is UNCHANGED check to see
;; if it has been RENAMED.
(when (or (not state) (eql state 'up-to-date))
@@ -272,8 +270,6 @@ If nil, use the value of `vc-diff-switches'. If t, use no
switches."
(goto-char (point-min))
(while (not (eobp))
(let ((file (buffer-substring-no-properties (point)
(line-end-position))))
- (setq file (expand-file-name file dir))
- (setq file (file-relative-name file dir))
(push (list file (vc-fossil--state-code nil)) result)
(forward-line)))
(funcall update-function result nil)))
- [nongnu] elpa/vc-fossil 85119b6 068/111: Merge devel., (continued)
- [nongnu] elpa/vc-fossil 85119b6 068/111: Merge devel., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil dffd034 069/111: Pipe commit message through log-edit-extract-headers., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 26c16f3 072/111: Create new branch named "pdo", ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 6f26a92 070/111: Implement the pull/update command., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 9b9736c 079/111: Add github mirror information and remove obsolete notes, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil c63995e 074/111: Added ability to cope with renamed files., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil b468088 083/111: Fixed accidental breakage., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil e0192e5 105/111: Bring in changes from upstream: Switch to using "fossil changes" (by ams)., ELPA Syncer, 2021/09/29
- [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 <=
- [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, 2021/09/29
- [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