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

Re: restoring dates to a working copy.

From: John Szakmeister <john_at_szakmeister.net>
Date: 2004-01-27 11:31:09 CET

On Monday 26 January 2004 15:16, Sami Haahtinen wrote:
> Does anyone happen to have a method to restore dates to a working copy?
> I have a need to restore the dates to the files when i check out a copy,
> after the initial checkout it doesn't matter that much as the updates
> will keep the dates pretty much in order (not exactly but almost)
>
> I was thinking about creating a script that reads the time of the last
> checkin and applies that to the file.
>
> Is there a simpler way? This would be pretty heavy on the system if the
> files build up.

Checkout the config file in the .subversion directory (in home on linux/, in %
APPDATA% on Windows). There is a directive called use-commit-times.
Uncomment [miscellany] and the use-commit-times line, and you should be ready
to go.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 27 11:44:31 2004

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