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

Re: Log operations locally

From: David Faure <faure_at_kde.org>
Date: 2005-07-04 17:14:55 CEST

On Monday 04 July 2005 17:57, Frank Striegel wrote:
> Hello,
>
> is it possible to log operations like svn up locally on the client?
>
> For Example
>
> svn up ...
>
> will do effects in this logfile like
>
> svn up ... from rev. 53 to rev. 62

This script (which I call "svnup") shows this kind of output:

#!/bin/sh
initial=`svn info | grep ^Revision: | sed -e 's/Revision: //'`
svn up $* || exit $?
final=`svn info | grep ^Revision: | sed -e 's/Revision: //'`
echo "from $initial to $final"

(which you can log to a file, of course)

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 4 17:27:53 2005

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.