You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by David Faure <fa...@kde.org> on 2005/07/04 15:14:55 UTC

Re: Log operations locally

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