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:10:32 PST
Message User: sunny256
Date: 05/02/08 10:10:32

Modified:
 /svnutils/trunk/src/
  svndiff

Log:
 r95 | sunny256 | 2005-02-08 17:44:08 +0000 (Tue, 08 Feb 2005) | 6 lines
 
 svndiff: Pause before executing the diff program.
 
 * /trunk/src/svndiff
   Added calls to deb_wait().
   (deb_wait): New subroutine.

File Changes:

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

File [changed]: svndiff
Url: http://svnutils.tigr​is.org/source/browse​/svnutils/trunk/src/​svndiff?r1=1.6&r​2=1.7
Delta lines: +11 -3
--------------------
--- svndiff 8 Feb 2005 18:09:10 -0000 1.6
+++ svndiff 8 Feb 2005 18:10:32 -0000 1.7
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 
 #===================​====================​====================​============
-# $Id: svndiff 94 2005-02-08 17:31:34Z sunny256 $
+# $Id: svndiff 95 2005-02-08 17:44:08Z sunny256 $
 # Uses a specified diff program for viewing differences in a Subversion
 # versioned directory tree.
 #
@@ -83,9 +83,11 @@
 
     if ($Cmd eq "vimdiff") {
         D("CMD: $Cmd $File1 $File2\n");
+ deb_wait();
         system("$Cmd $File1 $File2");
     } else {
         D("CMD: $Cmd $File2 $File1\n");
+ deb_wait();
         system("$Cmd $File2 $File1");
     }
 
@@ -100,6 +102,12 @@
     print("$Txt\n");
 }
 
+sub deb_wait {
+ $Debug || return;
+ print("debug: Press ENTER...");
+ <STDIN>;
+}
+
 sub usage {
     # Send the help message to stdout {{{
     my $Retval = shift;
@@ -131,7 +139,7 @@
 
 =head1 REVISION
 
-$Id: svndiff 94 2005-02-08 17:31:34Z sunny256 $
+$Id: svndiff 95 2005-02-08 17:44:08Z sunny256 $
 
 =head1 SYNOPSIS
 
@@ -197,4 +205,4 @@
 # }}}
 
 # vim: set fenc=UTF-8 ft=perl fdm=marker ts=4 sw=4 sts=4 et fo+=w :
-# End of file $Id: svndiff 94 2005-02-08 17:31:34Z sunny256 $
+# End of file $Id: svndiff 95 2005-02-08 17:44:08Z 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:10:32 PST
Messages per page: