r57103 - in /trunk/libsvn-look-perl: Changes META.yml README debian/changelog lib/SVN/Look.pm t/00-load.t t/01-commands.t t/test-functions.pl

angelabad-guest at users.alioth.debian.org angelabad-guest at users.alioth.debian.org
Thu Apr 29 09:41:08 UTC 2010


Author: angelabad-guest
Date: Thu Apr 29 09:40:55 2010
New Revision: 57103

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=57103
Log:
New upstream release 0.18

Modified:
    trunk/libsvn-look-perl/Changes
    trunk/libsvn-look-perl/META.yml
    trunk/libsvn-look-perl/README
    trunk/libsvn-look-perl/debian/changelog
    trunk/libsvn-look-perl/lib/SVN/Look.pm
    trunk/libsvn-look-perl/t/00-load.t
    trunk/libsvn-look-perl/t/01-commands.t
    trunk/libsvn-look-perl/t/test-functions.pl

Modified: trunk/libsvn-look-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-look-perl/Changes?rev=57103&op=diff
==============================================================================
--- trunk/libsvn-look-perl/Changes (original)
+++ trunk/libsvn-look-perl/Changes Thu Apr 29 09:40:55 2010
@@ -1,4 +1,8 @@
 Revision history for SVN-Look. -*- text -*-
+
+0.18	2010-04-28
+
+	Being more careful during tests.
 
 0.17    2010-02-24
 

Modified: trunk/libsvn-look-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-look-perl/META.yml?rev=57103&op=diff
==============================================================================
--- trunk/libsvn-look-perl/META.yml (original)
+++ trunk/libsvn-look-perl/META.yml Thu Apr 29 09:40:55 2010
@@ -1,6 +1,6 @@
 --- #YAML:1.0
 name:                SVN-Look
-version:             0.17
+version:             0.18
 abstract:            A caching wrapper aroung the svnlook command.
 license:             ~
 author:              

Modified: trunk/libsvn-look-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-look-perl/README?rev=57103&op=diff
==============================================================================
--- trunk/libsvn-look-perl/README (original)
+++ trunk/libsvn-look-perl/README Thu Apr 29 09:40:55 2010
@@ -1,6 +1,6 @@
 Name:    SVN-Look
 What:    A caching wrapper aroung the svnlook command.
-Version: 0.17
+Version: 0.18
 Author:  Gustavo Chaves <gnustavo at cpan.org>
 
 SVN-Look is a caching wrapper aroung the svnlook command.

Modified: trunk/libsvn-look-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-look-perl/debian/changelog?rev=57103&op=diff
==============================================================================
--- trunk/libsvn-look-perl/debian/changelog (original)
+++ trunk/libsvn-look-perl/debian/changelog Thu Apr 29 09:40:55 2010
@@ -1,3 +1,9 @@
+libsvn-look-perl (0.18-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Angel Abad <angelabad at gmail.com>  Thu, 29 Apr 2010 11:40:22 +0200
+
 libsvn-look-perl (0.17-1) unstable; urgency=low
 
   * New upstream release

Modified: trunk/libsvn-look-perl/lib/SVN/Look.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-look-perl/lib/SVN/Look.pm?rev=57103&op=diff
==============================================================================
--- trunk/libsvn-look-perl/lib/SVN/Look.pm (original)
+++ trunk/libsvn-look-perl/lib/SVN/Look.pm Thu Apr 29 09:40:55 2010
@@ -11,11 +11,11 @@
 
 =head1 VERSION
 
-Version 0.17
-
-=cut
-
-our $VERSION = '0.17';
+Version 0.18
+
+=cut
+
+our $VERSION = '0.18';
 
 =head1 SYNOPSIS
 

Modified: trunk/libsvn-look-perl/t/00-load.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-look-perl/t/00-load.t?rev=57103&op=diff
==============================================================================
--- trunk/libsvn-look-perl/t/00-load.t (original)
+++ trunk/libsvn-look-perl/t/00-load.t Thu Apr 29 09:40:55 2010
@@ -5,11 +5,11 @@
 
 require "test-functions.pl";
 
-if (has_svn()) {
+if (can_svn()) {
     plan tests => 1;
 }
 else {
-    plan skip_all => 'Need svn commands in the PATH.';
+    plan skip_all => 'Cannot find or use svn commands.';
 }
 
 require_ok('SVN::Look');

Modified: trunk/libsvn-look-perl/t/01-commands.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-look-perl/t/01-commands.t?rev=57103&op=diff
==============================================================================
--- trunk/libsvn-look-perl/t/01-commands.t (original)
+++ trunk/libsvn-look-perl/t/01-commands.t Thu Apr 29 09:40:55 2010
@@ -6,11 +6,11 @@
 
 require "test-functions.pl";
 
-if (has_svn()) {
+if (can_svn()) {
     plan tests => 13;
 }
 else {
-    plan skip_all => 'Need svn commands in the PATH.';
+    plan skip_all => 'Cannot find or use svn commands.';
 }
 
 my $t = reset_repo();

Modified: trunk/libsvn-look-perl/t/test-functions.pl
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-look-perl/t/test-functions.pl?rev=57103&op=diff
==============================================================================
--- trunk/libsvn-look-perl/t/test-functions.pl (original)
+++ trunk/libsvn-look-perl/t/test-functions.pl Thu Apr 29 09:40:55 2010
@@ -7,11 +7,12 @@
 use Cwd;
 use File::Temp qw/tempdir/;
 use File::Spec::Functions qw/catfile path/;
+use File::Path;
 
 # Make sure the svn messages come in English.
 $ENV{LC_MESSAGES} = 'C';
 
-sub has_svn {
+sub can_svn {
   CMD:
     for my $cmd (qw/svn svnadmin svnlook/) {
 	for my $path (path()) {
@@ -19,7 +20,12 @@
 	}
 	return 0;
     }
-    return 1;
+
+    my $T = tempdir('t.XXXX', DIR => getcwd());
+    my $canuseit = system("svnadmin create $T/repo") == 0;
+    rmtree($T);
+
+    return $canuseit;
 }
 
 our $T;




More information about the Pkg-perl-cvs-commits mailing list