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

Re: saving time stamps of files with subversion 1.1.1

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2004-11-05 07:08:11 CET

> > - after all, it's immensely
> > useful to do a
> > svn ps svn:text-time "2004-01-01T02:03:04.000000Z" <URL>
> > and have the file the correct time someone updates ....
>
> I don't understand.
What I wanted to say is - we want to store auxillary data parallel to the file
data (that's what properties are for), which should be modifieable by the
user with simple statements he already knows (I believe that's the case with
properties).
What I call useful is to do a
 svn propset svn:text-time "2004-01-01T02:03:04.000000Z" http://..../file
and everyone who does an update gets automagically the correct time .... until
this file gets committed, then it'll have another timestamp.

> > As long as I'm the only user it seemed not worth the time - especially
> > because a log message has to include the function names, and I don't know
> > an automated way to generate that (haven't read HACKING yet, though)
>
> It is worth the time, because people will find it easier to review your
> patch if they can read the log message first, and therefore people will be
> more likely to review your patch and take an interest.
>
> To get the function names automatically, try my attached script
> "svnlogmsg", which generates a log message template, including the file
> names and function names, with a diff below, ready for you to fill in the
> details.
I'll try - but as I don't have svn access (PROPFIND blocked by a firewall) I
just did a "diff -ru orig my" ...
For your script I'll have to start my own repository and wc ...

I'll post a patch with log message and corrected indentation, but I'd like to
await feedback first.

Regards,

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 5 07:08:28 2004

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

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