emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vc-hgcmd 15c3305 13/87: Don't pass abbreviated repo roo


From: Stefan Monnier
Subject: [elpa] externals/vc-hgcmd 15c3305 13/87: Don't pass abbreviated repo root dir to hg
Date: Sat, 5 Jun 2021 16:11:36 -0400 (EDT)

branch: externals/vc-hgcmd
commit 15c33053627951b32cbbaceac27271333df4ba4f
Author: muffinmad <andreyk.mad@gmail.com>
Commit: muffinmad <andreyk.mad@gmail.com>

    Don't pass abbreviated repo root dir to hg
---
 vc-hgcmd.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vc-hgcmd.el b/vc-hgcmd.el
index df90df8..43925ce 100644
--- a/vc-hgcmd.el
+++ b/vc-hgcmd.el
@@ -595,7 +595,7 @@ Insert 'Running command' and display buffer text if COMMAND"
             (list (if (eq limit 1) "-r" "-b") start-revision))
           (when limit (list "-l" (number-to-string limit)))
           (unless (or shortlog (eq limit 1)) (list "-f")) ; follow file renames
-          files)))
+          (unless (equal files (list default-directory)) files))))
     ;; If limit is 1 or vc-log-show-limit then it is initial diff and better 
move to working revision
     ;; otherwise remember point position and restore it later
     (let ((p (with-current-buffer buffer (unless (or (member limit (list 1 
vc-log-show-limit))) (point)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]