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

Re: Listing the commit messages for a single day

From: Ryan Schmidt <subversion-2009d_at_ryandesign.com>
Date: Sun, 27 Dec 2009 20:53:46 -0600

On Dec 27, 2009, at 13:46, Paulo J. Matos wrote:

> I was trying to find a way to list the commit messages for a single
> day in a repo. I found something using log but the result is
> unexpected. I wanted to find the commit messages for today 27-12-2009,
> so I did:
> $ svn --non-interactive -r{2009-12-27}:{2009-12-28} log
> ------------------------------------------------------------------------
> r505 | pocm06r | 2009-12-20 11:10:52 +0000 (Sun, 20 Dec 2009) | 1 line
>
> Presentation of ICFEM09
> ------------------------------------------------------------------------
> r506 | pocm06r | 2009-12-27 09:34:29 +0000 (Sun, 27 Dec 2009) | 1 line
>
> TAP10 initial commit
> ------------------------------------------------------------------------
> r507 | pocm06r | 2009-12-27 09:38:12 +0000 (Sun, 27 Dec 2009) | 1 line
>
> Thesis bits and pieces.
> ------------------------------------------------------------------------
>
> I guess taking the commit messages from this output is simple. What I
> can't understand is why a commit from 2009-12-20 is showing up. Any
> tips?

You will always get one commit before the range you requested. This is explained in the box titled "Is Subversion A Day Early?" on this page of the book:

http://svnbook.red-bean.com/en/1.5/svn.tour.revs.specifiers.html#svn.tour.revs.dates
Received on 2009-12-28 03:54:29 CET

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.