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

Re: obtaining changed files between two dates

From: Ben Reser <ben_at_reser.org>
Date: 2004-05-15 07:21:30 CEST

On Fri, May 14, 2004 at 09:05:04AM -0500, Glenn Carr wrote:
> As part of our nightly build, I'd like to list the files that have changed
> in the last 24 hours. I'm on W2K. From the docs it appears that I should
> be able to do something like this:
>
> svnlook changed -r {2004-5-12}:{2004-5-13}
>
> But, I get this error:
>
> svn: Transaction '(null)' is not based on a revision; how odd
>
> I've tried several variations of this, all with the same results. What am I
> missing? Is this possible?

svnlook does not handle ranges or dates. Because it uses atoi the
resulting revision number from the above or any other non-integer is 0.
Which of course has no transaction.

You can do this with the client with:
svn log -vq -r {2004-05-12}:{2004-05-13}

(note months and days need to be 0 padded or you'll get a syntax error).

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 15 07:22:09 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.