On Sun, Dec 27, 2009 at 14:46, Paulo J. Matos <pocma...@gmail.com> wrote: > Hi, > > 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?
The "why" was explained very recently on this mailing list - here's the relevant section of the manual. http://svnbook.red-bean.com/en/1.5/svn.tour.revs.specifiers.html#svn.tour.revs.dates Short version: The repository state at the beginning of the range you give is always included. You might find the XML output of svn log easier to extract the commit messages from.