branch: elpa/vc-fossil commit adb17bcf922fd6c026ccb655c55da5e1b4cbeb36 Author: venks <venks> Commit: venks <venks>
Use file-truename in vc-fossil-state otherwise status is not returned if called from outside a fossil tree --- vc/el/vc-fossil.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vc/el/vc-fossil.el b/vc/el/vc-fossil.el index 8515024..355b6bc 100644 --- a/vc/el/vc-fossil.el +++ b/vc/el/vc-fossil.el @@ -107,8 +107,8 @@ (defun vc-fossil-state (file) "Fossil specific version of `vc-state'." - ;; (message (format "vc-fossil-state on %s" file)) - (let ((line (vc-fossil--run "update" "-n" "-v" "current" file))) + ;; (message (format "vc-fossil-state on %s %s" file (file-truename file))) + (let ((line (vc-fossil--run "update" "-n" "-v" "current" (file-truename file)))) (and line (vc-fossil-state-code (car (split-string line))))))