[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: preserve modification date on co?

From: Harald Dunkel <harald.dunkel_at_t-online.de>
Date: 2004-09-09 19:57:50 CEST

Ben Collins-Sussman wrote:
> On Fri, 2004-09-03 at 01:31, Harald Dunkel wrote:
>
>>Hi folks,
>>
>>How can I preserve the modification date of files on co?
>
>
> You can't. svn doesn't preserve ownership or perms, other than a
> generic 'executable' concept.
>

Destroying information without need doesn't seem very
unix-like to me.

> 'svn co/up' touches each file with 'now', so that tools like 'make' work
> correctly.

Who said that make works better if SVN breaks the modification
date of all files? Don't you assume here that the make target
(e.g. a library or a lex header file) is not checked in? This
would be a very severe restriction.

> Your other option is to look in ~/.subversion/config and set
> 'use-commit-times=yes', which will force your working-copy files to have
> the timestamp of the last time each file changed in the *repository*.
>

It worked. But it would be nice to get a command line flag
with the same effect. No reason to change the default.

Many thanx anyway

Harri

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 9 19:58:22 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.