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

Re: Subversion Problem - How to save file modify time?

From: Oliver Betz <list_ob_at_gmx.net>
Date: Mon, 14 Jul 2008 11:49:56 +0200

Ryan Schmidt wrote:


>> * When no version control is used, then it's clear file timestamps are
>> critical. They're the only indication of a file's "version". But
>> once the files are placed into version control, what's the point of
>> tracking the original datestamps? Version control is now providing
>> much more detailed tracking of versions and dates. It's solving the
>> problem is a much more thorough way.
>When importing an existing project, I consider it important to know
>when those files were last modified. I may be importing the project
>today, but maybe I developed over a period of months last year. I'd
>like that metadata preserved.

Ack. Therefore I made a small perl script which commits one file at a
time, setting the commit time property to the file mtime. It should be
somewhere in the archives of this list.


>Also, not all repositories contain code. I have a second repository
>for musical compositions, for example.

This kind of data is one of the reasons I vote strongly for versioning
the modification time.


To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-14 11:55:30 CEST

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.