1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00

* vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in filename arg.

This commit is contained in:
Chong Yidong 2011-12-21 15:46:49 +08:00
parent 678f4426c3
commit bc86f573ee
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-12-21 Chong Yidong <cyd@gnu.org>
* vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
filename argument.
2011-12-20 Martin Rudalics <rudalics@gmx.at>
* window.el (window-normalize-buffer-to-display): Remove.

View File

@ -764,7 +764,10 @@ REV non-nil gets an error."
(defun vc-bzr-rename-file (old new)
"Rename file from OLD to NEW using `bzr mv'."
(vc-bzr-command "mv" nil 0 new old))
(setq old (expand-file-name old))
(setq new (expand-file-name new))
(vc-bzr-command "mv" nil 0 new old)
(message "Renamed %s => %s" old new))
(defvar vc-bzr-annotation-table nil
"Internal use.")