r65829 - in /trunk/libsvn-look-perl: Changes META.yml README debian/changelog debian/control debian/copyright lib/SVN/Look.pm

angelabad-guest at users.alioth.debian.org angelabad-guest at users.alioth.debian.org
Tue Dec 14 12:44:38 UTC 2010


Author: angelabad-guest
Date: Tue Dec 14 12:44:26 2010
New Revision: 65829

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=65829
Log:
* New upstream release
* debian/copyright: Update license information
* Bump Standards-Version to 3.9.1 (no changes)

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/debian/control
    trunk/libsvn-look-perl/debian/copyright
    trunk/libsvn-look-perl/lib/SVN/Look.pm

Modified: trunk/libsvn-look-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-look-perl/Changes?rev=65829&op=diff
==============================================================================
--- trunk/libsvn-look-perl/Changes (original)
+++ trunk/libsvn-look-perl/Changes Tue Dec 14 12:44:26 2010
@@ -1,4 +1,12 @@
 Revision history for SVN-Look. -*- text -*-
+
+0.20	2010-12-12
+
+	Fix methods copied_from and copied_to.
+
+0.19	2010-12-12
+
+	Implements the method tree.
 
 0.18	2010-04-28
 

Modified: trunk/libsvn-look-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-look-perl/META.yml?rev=65829&op=diff
==============================================================================
--- trunk/libsvn-look-perl/META.yml (original)
+++ trunk/libsvn-look-perl/META.yml Tue Dec 14 12:44:26 2010
@@ -1,15 +1,23 @@
 --- #YAML:1.0
-name:                SVN-Look
-version:             0.18
-abstract:            A caching wrapper aroung the svnlook command.
-license:             ~
-author:              
+name:               SVN-Look
+version:            0.20
+abstract:           A caching wrapper aroung the svnlook command.
+author:
     - Gustavo Chaves <gustavo+perl at gnustavo.org>
-generated_by:        ExtUtils::MakeMaker version 6.42
-distribution_type:   module
-requires:     
-    File::Spec::Functions:         0
-    Test::More:                    0
+license:            unknown
+distribution_type:  module
+configure_requires:
+    ExtUtils::MakeMaker:  0
+build_requires:
+    ExtUtils::MakeMaker:  0
+requires:
+    File::Spec::Functions:  0
+    Test::More:           0
+no_index:
+    directory:
+        - t
+        - inc
+generated_by:       ExtUtils::MakeMaker version 6.55_02
 meta-spec:
-    url:     http://module-build.sourceforge.net/META-spec-v1.3.html
-    version: 1.3
+    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
+    version:  1.4

Modified: trunk/libsvn-look-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-look-perl/README?rev=65829&op=diff
==============================================================================
--- trunk/libsvn-look-perl/README (original)
+++ trunk/libsvn-look-perl/README Tue Dec 14 12:44:26 2010
@@ -1,6 +1,6 @@
 Name:    SVN-Look
 What:    A caching wrapper aroung the svnlook command.
-Version: 0.18
+Version: 0.20
 Author:  Gustavo Chaves <gnustavo at cpan.org>
 
 SVN-Look is a caching wrapper aroung the svnlook command.
@@ -46,7 +46,7 @@
 
 COPYRIGHT AND LICENCE
 
-Copyright (C) 2008 CPqD (http://www.cpqd.com.br/)
+Copyright (C) 2008-2010 CPqD (http://www.cpqd.com.br/)
 
 This program is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.

Modified: trunk/libsvn-look-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-look-perl/debian/changelog?rev=65829&op=diff
==============================================================================
--- trunk/libsvn-look-perl/debian/changelog (original)
+++ trunk/libsvn-look-perl/debian/changelog Tue Dec 14 12:44:26 2010
@@ -1,3 +1,11 @@
+libsvn-look-perl (0.20-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/copyright: Update license information
+  * Bump Standards-Version to 3.9.1 (no changes)
+
+ -- Angel Abad <angelabad at gmail.com>  Tue, 14 Dec 2010 13:44:09 +0100
+
 libsvn-look-perl (0.18-1) unstable; urgency=low
 
   [ Angel Abad ]

Modified: trunk/libsvn-look-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-look-perl/debian/control?rev=65829&op=diff
==============================================================================
--- trunk/libsvn-look-perl/debian/control (original)
+++ trunk/libsvn-look-perl/debian/control Tue Dec 14 12:44:26 2010
@@ -6,7 +6,7 @@
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Angel Abad <angelabad at gmail.com>, Jonathan Yu <jawnsy at cpan.org>,
  Antonio Radici <antonio at dyne.org>
-Standards-Version: 3.8.4
+Standards-Version: 3.9.1
 Homepage: http://search.cpan.org/dist/SVN-Look/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libsvn-look-perl/
 Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libsvn-look-perl/

Modified: trunk/libsvn-look-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libsvn-look-perl/debian/copyright?rev=65829&op=diff
==============================================================================
--- trunk/libsvn-look-perl/debian/copyright (original)
+++ trunk/libsvn-look-perl/debian/copyright Tue Dec 14 12:44:26 2010
@@ -17,8 +17,8 @@
  This program is free software; you can redistribute it and/or modify
  it under the terms of the Artistic License, which comes with Perl.
  .
- On Debian GNU/Linux systems, the complete text of the Artistic License
- can be found in `/usr/share/common-licenses/Artistic'
+ On Debian systems, the complete text of the Artistic License can be
+ found in `/usr/share/common-licenses/Artistic'.
 
 License: GPL-1+
  This program is free software; you can redistribute it and/or modify
@@ -26,5 +26,5 @@
  the Free Software Foundation; either version 1, or (at your option)
  any later version.
  .
- On Debian GNU/Linux systems, the complete text of the GNU General
- Public License can be found in `/usr/share/common-licenses/GPL'
+ On Debian systems, the complete text of version 1 of the General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.

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=65829&op=diff
==============================================================================
--- trunk/libsvn-look-perl/lib/SVN/Look.pm (original)
+++ trunk/libsvn-look-perl/lib/SVN/Look.pm Tue Dec 14 12:44:26 2010
@@ -11,11 +11,11 @@
 
 =head1 VERSION
 
-Version 0.18
-
-=cut
-
-our $VERSION = '0.18';
+Version 0.20
+
+=cut
+
+our $VERSION = '0.20';
 
 =head1 SYNOPSIS
 
@@ -227,7 +227,7 @@
 
 Returns a reference to a hash containing information about all file
 changes occurred in the revision. The hash always has the following
-pairs:
+keys:
 
 =over
 
@@ -249,8 +249,7 @@
 
 =item copied
 
-A hash mapping the old to the new name of each file moved in the
-revision.
+A hash containing information about each file or diretory copied in the revision. The hash keys are the names of elements copied to. The value associated with a key is a two-element array containing the name of the element copied from and the specific revision from which it was copied.
 
 =back
 
@@ -369,29 +368,29 @@
     return @{$self->{dirs_changed}};
 }
 
+=item B<copied_to>
+
+Returns the list of new names of files that were copied in the
+revision/transaction.
+
+=cut
+
+sub copied_to {
+    my $self = shift;
+    return keys %{$self->changed_hash()->{copied}};
+}
+
 =item B<copied_from>
 
-Returns the list of original names of files that were renamed in the
-revision/transaction.
+Returns the list of original names of files that were copied in the
+revision/transaction. The order of this list is guaranteed to agree
+with the order generated by the method copied_to.
 
 =cut
 
 sub copied_from {
     my $self = shift;
-    return keys %{$self->changed_hash()->{copied_from}};
-}
-
-=item B<copied_to>
-
-Returns the list of new names of files that were renamed in the
-revision/transaction. The order of this list is guaranteed to agree
-with the order generated by the method copied_from.
-
-=cut
-
-sub copied_to {
-    my $self = shift;
-    return values %{$self->changed_hash()->{copied_from}};
+    return map {$_->[0]} values %{$self->changed_hash()->{copied}};
 }
 
 =item B<cat> PATH
@@ -508,6 +507,35 @@
     return %lock ? \%lock : undef;
 }
 
+=item B<tree> [PATH_IN_REPOS, OPTS, ...]
+
+Returns the repository tree as a list of paths, starting at
+PATH_IN_REPOS (if supplied, at the root of the tree otherwise),
+optionally showing node revision ids.
+
+=over
+
+=item C<--full-paths>
+
+show full paths instead of indenting them.
+
+=item C<--show-ids>
+
+Returns the node revision ids for each path.
+
+=item C<--non-recursive>
+
+Operate on single directory only.
+
+=back
+
+=cut
+
+sub tree {
+    my ($self, @opts) = @_;
+    return $self->_svnlook('tree', @opts);
+}
+
 =back
 
 =head1 AUTHOR




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