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

Re: efficient "svn log" usage?

From: Stefan <steveking_at_tigris.org>
Date: 2004-07-03 23:58:20 CEST

Robert Kleemann wrote:
[snip]
> Here's the problem:
>
> For cvs I had the following wrapper scripts:
>
> cvsdate file-arg
> Runs "cvs log" on the specified file. Parses the log for the most
> recent change date and returns that date.

You could use the "last-commit-date" from the status command:
svn st -v
on your working copy.

> cvsnewest file-list
> Runs cvsdate for each file in the file list and returns the most
> recent of all those dates.

here too: just use the 'svn st -v' to get the last commit time.
Or, if your working copy is not at HEAD, you can use
svn st -v -u
to update the status data with the server.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 5 20:15:31 2004

This is an archived mail posted to the Subversion Users mailing list.