all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Hansen <larsh@math.ku.dk>
Cc: emacs-devel@gnu.org
Subject: Re: Tramp keep-time broken
Date: Wed, 12 Feb 2003 12:18:28 +0100	[thread overview]
Message-ID: <3E4A2D84.20107@math.ku.dk> (raw)
In-Reply-To: <8465rqaqb5.fsf@lucy.is.informatik.uni-duisburg.de>

Kai Großjohann wrote:

>It depends on the tramp method that you are using.  There are inline
>methods (which transfer the file through the shell connection using
>base64 or uu encoding) and there are out-of-band methods (which
>invoke an external program such as rcp or scp or rsync to actually
>transfer the file).
>  
>
I am using methods pscp under Windows and scp under GNU/Linux. The time 
stamp is not preserved in any of the cases. Unless I read the code in 
tramp.el in a wrong way, time stamp is never preserved when copying 
across machines. It looks to me as a bug.

>Should Tramp barf if it is requested to keep the time but can't?
>  
>
Tramp actually gives a warning, I just did not see it since one have to 
look in the message buffer. When i call

(copy-file "~/tmp/junk" "/larsh@galois.math.ku.dk:tmp/keep" t t)
(copy-file "~/tmp/junk" "/larsh@galois.math.ku.dk:tmp/new" t nil)

I get

tramp: Warning: cannot preserve file time stamp with inline copying 
across machines
tramp: Writing tmp file using `pscp'...
tramp: Transferring file using `pscp'...done
Wrote /larsh@galois.math.ku.dk:/home/l/larsh/tmp/keep
tramp: Writing tmp file using `pscp'...
tramp: Transferring file using `pscp'...done
Wrote /larsh@galois.math.ku.dk:/home/l/larsh/tmp/new

  reply	other threads:[~2003-02-12 11:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-11 21:11 Tramp keep-time broken Lars Hansen
2003-02-12  7:52 ` Kai Großjohann
2003-02-12 11:18   ` Lars Hansen [this message]
2003-02-12 11:55     ` Kai Großjohann
2003-02-12 18:11     ` Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E4A2D84.20107@math.ku.dk \
    --to=larsh@math.ku.dk \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.