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

Re: [Question] Svn log show code diff

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: Mon, 20 Dec 2010 12:34:39 +0530

Hi Zhang,

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

With regards
Kamesh Jayachandran

On 12/20/2010 08:47 AM, Zhang, Wei-Jovi (NSN - CN/Hangzhou) wrote:
> 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 08:08:47 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.