[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/vc-fossil 403712d 032/111: Fossil gets confused traversing
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/vc-fossil 403712d 032/111: Fossil gets confused traversing through symlinks. Use file-truename in multiple places to get past that. |
Date: |
Wed, 29 Sep 2021 08:59:15 -0400 (EDT) |
branch: elpa/vc-fossil
commit 403712dfee9fee182277f13d0158fe09fedfba6a
Author: venks <venks>
Commit: venks <venks>
Fossil gets confused traversing through symlinks. Use file-truename in
multiple places to get past that.
---
vc/el/vc-fossil.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/vc/el/vc-fossil.el b/vc/el/vc-fossil.el
index 2a3d2a6..3ce6d12 100644
--- a/vc/el/vc-fossil.el
+++ b/vc/el/vc-fossil.el
@@ -114,7 +114,7 @@
(defun vc-fossil-working-revision (file)
"Fossil Specific version of `vc-working-revision'."
- (let ((line (vc-fossil--run "finfo" "-s" file)))
+ (let ((line (vc-fossil--run "finfo" "-s" (file-truename file))))
(and line
(cadr (split-string line)))))
@@ -224,7 +224,7 @@
(defun vc-fossil-print-log (files buffer &optional shortlog start-revision
limit)
"Print full log for a file"
(when files
- (vc-fossil-command buffer 0 (car files) "finfo" "-l")
+ (vc-fossil-command buffer 0 (file-truename (car files)) "finfo" "-l")
(vc-fossil-print-log (cdr files) buffer)))
;; TBD: log-entry
@@ -265,7 +265,7 @@
(with-temp-buffer
(let ((found (not rev))
(newver nil))
- (insert (vc-fossil--run "finfo" "-l" "-b" file))
+ (insert (vc-fossil--run "finfo" "-l" "-b" (file-truename file)))
;; (vc-fossil--call "fossil" "finfo" "-l" "-b" file)
(goto-char (point-min))
(while (not (eobp))
@@ -283,7 +283,7 @@
(with-temp-buffer
(let ((found (not rev))
(oldver nil))
- (insert (vc-fossil--run "finfo" "-l" "-b" file))
+ (insert (vc-fossil--run "finfo" "-l" "-b" (file-truename file)))
;; (vc-fossil--call "fossil" "finfo" "-l" "-b" file)
(goto-char (point-min))
(while (not (eobp))
@@ -296,9 +296,9 @@
(defun vc-fossil-delete-file (file)
- (vc-fossil-command nil 0 file "rm"))
+ (vc-fossil-command nil 0 (file-truename file) "rm"))
(defun vc-fossil-rename-file (old new)
- (vc-fossil-command nil 0 (list old new) "mv"))
+ (vc-fossil-command nil 0 (list (file-truename old) (file-truename new))
"mv"))
(provide 'vc-fossil)
- [nongnu] elpa/vc-fossil 0bd29ae 010/111: Simplified version of vc-fossil-registered., (continued)
- [nongnu] elpa/vc-fossil 0bd29ae 010/111: Simplified version of vc-fossil-registered., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil cb4cd3f 017/111: Fossil version 3af6cf0993, moves update to end, simplifying our parsing., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil b1429cb 019/111: flush assignment warnings via let augmentation, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 56b4562 020/111: tweak doc: compile command, and don't smash other VCs off vc-handled-backends, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 5a8e1a3 022/111: autoload in docs, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil 0da61d3 025/111: standard comment style, ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil fe3e0d3 035/111: Enable vc-ediff to work. Thanks to folks who contributed in [8521322bc9], ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil c642a01 042/111: Pass `vc-checkin-switches` on checkin., ELPA Syncer, 2021/09/29
- [nongnu] elpa/vc-fossil d844871 026/111: typo in emacs keystroke in documentation, ELPA Syncer, 2021/09/29
- [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 <=
- [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, 2021/09/29
- [nongnu] elpa/vc-fossil 4ce0039 052/111: Enable word-wrap with indentation in log view., ELPA Syncer, 2021/09/29