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

Re: Timestamp Issues

From: <trlists_at_clayst.com>
Date: 2004-11-30 05:10:12 CET

On 29 Nov 2004 Patrick Smears wrote:

> No, that is not currently possible with just subversion (although it's
> possible using, for example, scripts that make use of properties to store
> the relevant times).

I cooked up a couple of 4NT batch files which will set and get a
"timestamp" property and do the right thing with it, using the output
from svn list -R as a base. This is slow as it runs against all files,
it would need to parse output from svnlook and have some more
intelligence to be useful, but the concept does work.

If I were to do it I think the best thing to do would be to write
custom scripts to invoke svn that would see if the command in question
could modify the repository or retrieve something from it, then use
svnlook to see what was changed and go from there. I think I could
also set the property in a pre-commit hook script, but I'd still have
to write a custom interface to at least checkout and update to read the
property and set the timestamp.

It's definitely doable, but not what I'd call simple!

--
Tom
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 30 05:12:08 2004

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.