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-04-28 02:42:47 PDT
Message User: sunny256
Date: 2005/04/28 02:42:47

Modified:
   svnutils/trunk/src/svndiff

Log:
 r128 | sunny256 | 2005-04-28 09:35:00 +0000 (Thu, 28 Apr 2005) | 4 lines
 
 * /trunk/src/svndiff
   Don’t try to read $rc_file if it doesn’t exist, avoids some
   unnecessary complaining.

File Changes:

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

File [changed]: svndiff
Url: http://svnutils.tigr​is.org/source/browse​/svnutils/trunk/src/​svndiff?r1=1.23&​r2=1.24
Delta lines: +4 -4
-------------------
--- svndiff 26 Apr 2005 23:15:15 -0000 1.23
+++ svndiff 28 Apr 2005 09:42:45 -0000 1.24
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 
 #===================​====================​====================​============
-# $Id: svndiff 126 2005-04-26 23:03:00Z sunny256 $
+# $Id: svndiff 128 2005-04-28 09:35:00Z sunny256 $
 # Uses a specified diff program for viewing differences in a Subversion
 # versioned directory tree.
 #
@@ -48,7 +48,7 @@
     }
 }
 
-length($rc_file) && read_rcfile($rc_file);
+length($rc_file) && (-e $rc_file) && read_rcfile($rc_file);
 
 getopts('Cc:e:hp:r:') || die("$progname: Option error. Use -h for help.\n");
 
@@ -355,7 +355,7 @@
 
 =head1 REVISION
 
-$Id: svndiff 126 2005-04-26 23:03:00Z sunny256 $
+$Id: svndiff 128 2005-04-28 09:35:00Z sunny256 $
 
 =head1 SYNOPSIS
 
@@ -473,4 +473,4 @@
 # }}}
 
 # vim: set fenc=UTF-8 ft=perl fdm=marker ts=4 sw=4 sts=4 et fo+=w :
-# End of file $Id: svndiff 126 2005-04-26 23:03:00Z sunny256 $
+# End of file $Id: svndiff 128 2005-04-28 09:35:00Z sunny256 $

« 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-28 02:42:47 PDT
Messages per page: