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/

Reply

Author sunny256
Full name Øyvind A. Holm
Date 2005-04-02 02:34:01 PST
Message User: sunny256
Date: 05/04/02 02:34:01

Modified:
 /svnutils/trunk/src/
  svndiff

Log:
 r115 | sunny256 | 2005-04-02 10:31:12 +0000 (Sat, 02 Apr 2005) | 5 lines
 
 Get rid of a “uninitialised value” warning in svndiff.
 
 * /trunk/src/svndiff
   (diff_file): Set $Revs to "" if it isn't defined.

File Changes:

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

File [changed]: svndiff
Url: http://svnutils.tigr​is.org/source/browse​/svnutils/trunk/src/​svndiff?r1=1.15&​r2=1.16
Delta lines: +4 -3
-------------------
--- svndiff 2 Apr 2005 07:24:08 -0000 1.15
+++ svndiff 2 Apr 2005 10:34:01 -0000 1.16
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 
 #===================​====================​====================​============
-# $Id: svndiff 113 2005-04-02 07:22:13Z sunny256 $
+# $Id: svndiff 115 2005-04-02 10:31:12Z sunny256 $
 # Uses a specified diff program for viewing differences in a Subversion
 # versioned directory tree.
 #
@@ -94,6 +94,7 @@
     my ($File1, $has_conflict, $Revs) = @_;
     my $Path = "";
     my $File = $File1;
+ defined($Revs) || ($Revs = "");
 
     D("diff_file(\"$File1\", \"$has_conflict\", \"$Revs\");\n");
 
@@ -234,7 +235,7 @@
 
 =head1 REVISION
 
-$Id: svndiff 113 2005-04-02 07:22:13Z sunny256 $
+$Id: svndiff 115 2005-04-02 10:31:12Z sunny256 $
 
 =head1 SYNOPSIS
 
@@ -316,4 +317,4 @@
 # }}}
 
 # vim: set fenc=UTF-8 ft=perl fdm=marker ts=4 sw=4 sts=4 et fo+=w :
-# End of file $Id: svndiff 113 2005-04-02 07:22:13Z sunny256 $
+# End of file $Id: svndiff 115 2005-04-02 10:31:12Z 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-04-02 02:34:01 PST
Messages per page: