the source file in case of `rename'. Reported by Pete Forman
<pete.forman@westerngeco.com>.
+2008-01-24 Michael Albinus <michael.albinus@gmx.de>
+
+ * net/tramp.el (tramp-do-copy-or-rename-file): Flush the cache of
+ the source file in case of `rename'. Reported by Pete Forman
+ <pete.forman@westerngeco.com>.
+
2008-01-24 Ken Manheimer <ken.manheimer@gmail.com>
* allout.el (allout-keybindings-list): In initial setting, express
;; One of them must be a Tramp file.
(error "Tramp implementation says this cannot happen")))
+ ;; In case of `rename', we must flush the cache of the source file.
+ (when (and t1 (eq op 'rename))
+ (with-parsed-tramp-file-name filename nil
+ (tramp-flush-file-property v localname)))
+
;; When newname did exist, we have wrong cached values.
(when t2
(with-parsed-tramp-file-name newname nil