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

Re: Re: Subversion erase original date of files ??

From: Max Bowsher <maxb_at_ukf.net>
Date: 2004-09-17 01:46:31 CEST

Erik Anderson wrote:
> On first blush it doesn't look like versioned properties would be the best
> place to store modification dates, as by default the text would change
> while
> the properties stayed the same. And unversioned properties are not
> strongly
> tied to a single file, so they may not be the best place to store this
> information either...

If you wanted to use properties, you would use versioned properties, and do
it like this:

Wrap "commit". On commit, first propset the current modtime for each file
that is part of the commit into the appropriate property.

Wrap "checkout/update/switch/export/???". Propget the appropriate value and
set the file time appropriately.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 17 01:49:48 2004

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