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

Saving and Restoring the timestamp of each file in SVN

From: <Michael.Hutter_at_preh-ima.com>
Date: Wed, 17 Feb 2016 07:08:00 +0100

Hello,

In order to save the timestamp of each file in SVN I have written a
pre_commit- and a post_update-hook script.

In case of a commit the first script saves the datetime (creation and
modification) of each committed file as a property, as well as the file
attributes (system, hidden, readonly, archive). After runing the UPDATE
command, the timestamps will be written on the files. This works for 3
years, now.

May be it would be interesting to implement this function in SVN as a new
feature.
The advantage of saving and restoring the timestamp is, that it's still
possible to synchronize the files, using datetime based compare utilities
like e. g. FreeCommander.

Best regards,
Michael Hutter

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3161087

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

picture picture picture
Received on 2016-02-17 08:29:22 CET

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

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