Robert Kleemann <robert@kleemann.org> writes:
> I was writing a program to parse the output of svn log and I needed to
> know whether the "hour" of the date was "0-23" or "1-24". I looked in
> the book: [chp 9 ref].[The subversion command line client].[svn
> subcommands].[svn log] hoping to find some detailed info on the output
> format but didn't find any. I started to look at the source code but
> quickly became lost. Finally I enlisted in the svn project and
> searched for dates that matched either hour 24 or 0.
>
> $ svn co http://svn.collab.net/repos/svn/trunk svn
> $ cd svn
> $ for f in subversion/clients/cmdline/* ; do svn log $f ; done > out
> $ grep ^r out | egrep ' (00|24):'
> r1430 | gstein | 2002-03-06 00:10:52 -0800 (Wed, 06 Mar 2002) | 39 lines
> r1055 | daniel | 2002-01-25 00:52:59 -0800 (Fri, 25 Jan 2002) | 44 lines
> r1055 | daniel | 2002-01-25 00:52:59 -0800 (Fri, 25 Jan 2002) | 44 lines
> ... etc ...
>
> Anyway, this wasn't that big of a deal but it would be nice if one of
> the examples listed in the svn log chapter showed at least one log
> entry for the hour past midnight.
It would be great if you could produce a patch for the relevant
section of the book... No big deal if you don't have time, but I just
didn't want to leave a possible contributor uninvited. <grin>
If you make a patch, just post it here with "[PATCH] " at the start of
the Subject line. See http://svn.collab.net/repos/svn/trunk/HACKING
for more details about submitting patches.
-Karl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 3 22:05:29 2004