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

[Question] Svn log show code diff

From: Zhang, Wei-Jovi (NSN - CN/Hangzhou) <wei-jovi.zhang_at_nsn.com>
Date: Mon, 20 Dec 2010 11:17:29 +0800

Hi,
        I have a question about svn log command, every time when I use
svn log command, I'm very upset that I need to input svn diff to check
changesets using revision number.
        Why not combine svn log and diff command together? Or is there
have any script for this purpose? Like this:

------------------------------------------------------------------------
r229 | w3zhang | 2010-12-15 10:48:20 +0800 (Wed, 15 Dec 2010) | 1 line
Changed paths:
   M /trunk/SS_MGWSemiPermCtrl/src/semipermanent_heathcheck.sh

Index: semipermanent_heathcheck.sh
===================================================================
--- semipermanent_heathcheck.sh (revision 228)
+++ semipermanent_heathcheck.sh (revision 229)
@@ -75,6 +75,7 @@
     if [ "$RET_STATUS" != "" ]; then
         echo -e "add tdm-tdm crct1:\t$CRCT1-$TSL \tcrct2:\t$CRCT2-$TSL
\t[FAILED]"
         CRCT_CREATE_FAILED="$CRCT1-$TSL $CRCT2-$TSL"
+ echo -e "command: fsclish -c \"add tdm semipermanent-connection
tdm-tdm crct1 $CRCT1-$TSL crct2 $CRCT2-$TSL\""
         echo -e "$RET_STATUS"
         break
     else
semipermanent_heathcheck: echo failed command, used for re-executed
later

------------------------------------------------------------------------
r227 | w3zhang | 2010-12-14 16:59:23 +0800 (Tue, 14 Dec 2010) | 1 line
Changed paths:
   M /trunk/SS_MGWSemiPermCtrl/src/semper_h01.sdl
   M /trunk/SS_MGWSemiPermCtrl/src/semper_h02.sdl
   M /trunk/SS_MGWSemiPermCtrl/src/semper_leg.sdl
   M /trunk/SS_MGWSemiPermCtrl/src/semper_m01.sdl
   M /trunk/SS_MGWSemiPermCtrl/src/semper_m02.sdl
   M /trunk/SS_MGWSemiPermCtrl/src/semper_mas.sdl
   M /trunk/SS_MGWSemiPermCtrl/src/z00lib.sdl

using script to cleanup TNSDL coding style

Index: semipermanent_heathcheck.sh
===================================================================
--- semipermanent_heathcheck.sh (revision 228)
+++ semipermanent_heathcheck.sh (revision 229)
@@ -93,6 +94,7 @@
     if [ "$RET_STATUS" != "" ]; then
         echo -e "delete tdm-tdm crct1:\t$CRCT1-$TSL
\tcrct2:\t$CRCT2-$TSL \t[FAILED]"
         CRCT_DELETE_FAILED="$CRCT_DELETE_FAILED $CRCT1-$TSL
$CRCT2-$TSL"
+ echo -e "command: fsclish -c \"delete tdm
semipermanent-connection tdm-tdm crct $CRCT1-$TSL\""
         echo -e "$RET_STATUS"
     else
         echo -e "delete tdm-tdm crct1:\t$CRCT1-$TSL \tcrct2:
\t$CRCT2-$TSL \t[OK]"

        Thanks for your time.
Received on 2010-12-20 07:50:33 CET

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.