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

svn log format description

From: Robert Kleemann <robert_at_kleemann.org>
Date: 2004-07-03 20:56:24 CEST

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.

Robert.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 3 21:10:07 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.