branch: elpa/vc-fossil
commit 49552ae77ee71910c10974c92c3f0a74930f30ad
Author: fifr <fifr>
Commit: fifr <fifr>

    Delete and rename modify working directory.
    
    This is supported by newer fossil with an additional switch.
---
 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 f39cef7..de9b635 100644
--- a/vc/el/vc-fossil.el
+++ b/vc/el/vc-fossil.el
@@ -305,9 +305,9 @@ If `files` is nil return the status for all files."
 
 
 (defun vc-fossil-delete-file (file)
-  (vc-fossil-command nil 0 (file-truename file) "rm"))
+  (vc-fossil-command nil 0 (file-truename file) "rm" "--hard"))
 
 (defun vc-fossil-rename-file (old new)
-  (vc-fossil-command nil 0 (list (file-truename old) (file-truename new)) 
"mv"))
+  (vc-fossil-command nil 0 (list (file-truename old) (file-truename new)) "mv" 
"--hard"))
 
 (provide 'vc-fossil)

Reply via email to