Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: /svnutils/trunk/src/

svnutils
Discussion topic

Back to topic list

CVS update: /svnutils/trunk/src/

Author sunny256
Full name Øyvind A. Holm
Date 2005-02-08 10:12:23 PST
Message User: sunny256
Date: 05/02/08 10:12:23

Modified:
 /svnutils/trunk/src/
  svndiff

Log:
 r97 | sunny256 | 2005-02-08 18:01:20 +0000 (Tue, 08 Feb 2005) | 4 lines
 
 * /trunk/src/svndiff
   Using $ST_CONFLICT and $ST_MODIFIED instead of hardcoded status
   letters.

File Changes:

Directory: /svnutils/trunk/src/
===============================

File [changed]: svndiff
Url: http://svnutils.tigr​is.org/source/browse​/svnutils/trunk/src/​svndiff?r1=1.8&r​2=1.9
Delta lines: +8 -5
-------------------
--- svndiff 8 Feb 2005 18:11:33 -0000 1.8
+++ svndiff 8 Feb 2005 18:12:23 -0000 1.9
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 
 #===================​====================​====================​============
-# $Id: svndiff 96 2005-02-08 17:53:53Z sunny256 $
+# $Id: svndiff 97 2005-02-08 18:01:20Z sunny256 $
 # Uses a specified diff program for viewing differences in a Subversion
 # versioned directory tree.
 #
@@ -29,6 +29,9 @@
 # to use the -e option all the time:
 my $CMD_SVN = "svn";
 
+my $ST_CONFLICT = 'C';
+my $ST_MODIFIED = 'M';
+
 our $progname = $0;
 $progname =~ s#^(.*)/(.+?)$#$2#;
 
@@ -38,8 +41,8 @@
 length($opt_p) && ($Cmd .= " $opt_p");
 length($opt_e) && ($CMD_SVN = $opt_e);
 
-my $stat_chars = "CM";
-$opt_C && ($stat_chars = "C");
+my $stat_chars = "$ST_CONFLICT$ST_MODIFIED";
+$opt_C && ($stat_chars = "$ST_CONFLICT");
 
 my @mod_array = ();
 
@@ -145,7 +148,7 @@
 
 =head1 REVISION
 
-$Id: svndiff 96 2005-02-08 17:53:53Z sunny256 $
+$Id: svndiff 97 2005-02-08 18:01:20Z sunny256 $
 
 =head1 SYNOPSIS
 
@@ -218,4 +221,4 @@
 # }}}
 
 # vim: set fenc=UTF-8 ft=perl fdm=marker ts=4 sw=4 sts=4 et fo+=w :
-# End of file $Id: svndiff 96 2005-02-08 17:53:53Z sunny256 $
+# End of file $Id: svndiff 97 2005-02-08 18:01:20Z sunny256 $




--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: cvs-unsubscribe@svnu​tils.tigris.org
For additional commands, e-mail: cvs-help at svnutils dot tigris dot org

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: /svnutils/trunk/src/ sunny256 Øyvind A. Holm 2005-02-08 10:12:23 PST
Messages per page: