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

Re: Is there really no way to keep the file modification time intact?

From: Frans Knibbe <frans_at_geodan.nl>
Date: 2007-03-01 18:03:37 CET

Oliver Betz wrote:
> Frans Knibbe wrote:
>
> [...]
>
>
>> Thank you for your suggestions. I have done some testing and I think I
>> will choose the option to set the system time to the file modification
>> time before each commit.
>>
>
> why don't you want to use "svn propset" as I suggested?
>
That's strange. I did not receive earlier messages from you in this
thread. But then I went to look in the mailing list archive at
http://subversion.tigris.org and there I saw your other message. Maybe
it was delayed or somehow did not get through out spam filter? I will
ask my system administrator.

So, thanks for the link! It seems you were faced with with the same
problem I have now.

If I read your script correctly, you commit a file and then you use svn
propset to alter the svn:date property. Well, that is a nicer way of
doing it, indeed. I did not realize this was possible. But now I have
also read the warning in the SVN book:

"Since the timestamp of a revision is stored as an unversioned,
modifiable property of the revision (see the section called
“Properties”, revision timestamps can be changed to represent complete
falsifications of true chronology, or even removed altogether. This will
wreak havoc on the internal date-to-revision conversion that Subversion
performs."

Have you ever noticed any havoc resulting from you migration? If I
understand correctly, the effect to avoid is the -r{DATE}switch
returning a wrong revision number. So if I first sort all the objects I
want to commit by date, there won't be a problem. I hope...

>
>> It is a simple solution and I think it is
>>
>
> IMNSHO it's a horrible way to do it.
>
> Oliver
>

-- 
-------------------------------------
Frans Knibbe
Geodan S&R
President Kennedylaan 1
1079 MB Amsterdam (NL)
-------------------------------------
Tel: +31 (0)20 - 5711 347
Fax: +31 (0)20 - 5711 333
-------------------------------------
E-mail: frans.knibbe@geodan.nl
Website: www.geodan.nl
KvK-nummer: 33 247475
Disclaimer: www.geodan.nl/disclaimer
-------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 1 18:07:34 2007

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