[Question] Svn log show code diff

Showing 1-2 of 2 messages
[Question] Svn log show code diff Zhang, Wei-Jovi (NSN - CN/Hangzhou) 12/19/10 7:17 PM

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.

Re: [Question] Svn log show code diff Kamesh Jayachandran 12/19/10 11:04 PM
Hi Zhang,

This feature is already available via  "--diff                   :
produce diff output" option log command in upcoming svn 1.7.


With regards
Kamesh Jayachandran