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

    Use relative filename on rename
---
 vc-hgcmd.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vc-hgcmd.el b/vc-hgcmd.el
index 8c30250..c0ca1d1 100644
--- a/vc-hgcmd.el
+++ b/vc-hgcmd.el
@@ -5,7 +5,7 @@
 ;; Author: Andrii Kolomoiets <andreyk....@gmail.com>
 ;; Keywords: vc
 ;; URL: https://github.com/muffinmad/emacs-vc-hgcmd
-;; Package-Version: 1.5.1
+;; Package-Version: 1.5.2
 ;; Package-Requires: ((emacs "25.1"))
 
 ;; This file is NOT part of GNU Emacs.
@@ -1209,7 +1209,7 @@ Insert output to process buffer and check if amount of 
data is enought to parse
 
 (defun vc-hgcmd-rename-file (old new)
   "Rename file from OLD to NEW using `hg mv'."
-  (vc-hgcmd-command "move" old new))
+  (vc-hgcmd-command "move" (vc-hgcmd--file-relative-name old) 
(vc-hgcmd--file-relative-name new)))
 
 (defun vc-hgcmd--file-unresolved-p (file)
   "Return t if FILE is in conflict state."

Reply via email to