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

svnlook history

From: Ryan Hunt <rhunt_at_hp.com>
Date: 2003-12-11 22:36:49 CET

Is there any reason why the history command is part of svnlook? This
is a very useful feature that seems like it would be valuable to the
clients of the repos not just the admins...

It would also be nice to see the log message as part of the history.

I know we use it regularly. I have had to write a little script the
client can run to get a revision number and log file comment history,
but it is painfully slow due to the number of individual logins to the
server. I would be nice to have this as part of the native code...

#! /bin/ksh
set -A revnos $(ssh $1 svnlook history $2 $3 | grep -v REV | grep -v
"-" | cut -d "/" -f 1)
for rev in ${revnos[*]} ; do
         echo "Revision: " $rev
         ssh $1 svnlook log $2 -r $rev
done

-Ryan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Dec 12 00:37:25 2003

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.