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


Reply via email to