overwriting when NEWNAME is a local file.
dbus-call-method.
(Receiving Method Calls): The timeout can be set by the calling client.
+ * trampver.texi: Update release number.
+
2008-03-29 Reiner Steib <Reiner.Steib@gmx.de>
* gnus.texi (Top): Fix version. Add SASL.
+2008-03-30 Michael Albinus <michael.albinus@gmx.de>
+
+ * net/tramp.el (tramp-do-copy-or-rename-file): Fix check for
+ overwriting when NEWNAME is a local file.
+
+ * net/trampver.el: Update release number.
+
2008-03-30 Alexandre Julliard <julliard@winehq.org>
* vc-git.el: Make vc-status display information about copies,
(let ((t1 (tramp-tramp-file-p filename))
(t2 (tramp-tramp-file-p newname)))
- (unless ok-if-already-exists
- (when (and t2 (file-exists-p newname))
- (with-parsed-tramp-file-name newname nil
- (tramp-error
- v 'file-already-exists "File %s already exists" newname))))
+ (when (and (not ok-if-already-exists) (file-exists-p newname))
+ (with-parsed-tramp-file-name (if t1 filename newname) nil
+ (tramp-error
+ v 'file-already-exists "File %s already exists" newname)))
(prog1
(cond