[SCM] Debian packaging of libconfig-model-perl branch, master, updated. debian/2.021-2-5-g58578e0

Dominique Dumont dod at debian.org
Fri Jul 13 12:25:11 UTC 2012


The following commit has been merged in the master branch:
commit fc74b93d2ee90d44c7e95476f553d374baa34af3
Author: Dominique Dumont <dod at debian.org>
Date:   Fri Jul 13 14:09:20 2012 +0200

    also applied patch that cleans up notif change when swapping indexes (necessary to have working tests)

diff --git a/debian/patches/fix-unsaved-changes b/debian/patches/fix-unsaved-changes
index d96ef35..b574f94 100644
--- a/debian/patches/fix-unsaved-changes
+++ b/debian/patches/fix-unsaved-changes
@@ -8,6 +8,16 @@
          my $imode = $self->instance->get_data_mode ;
          $self->set_data_mode( $to, $imode ) ;
      }
+@@ -304,8 +305,7 @@
+     $self->{data}[$ida] = $objb ;
+     $self->{data}[$idb] = $obja ;
+     
+-    $self->notify_change(index => $ida) ;
+-    $self->notify_change(index => $idb) ;
++    $self->notify_change(note => "swapped index $ida and $idb") ;
+ }
+ 
+ #die "check index number after wap";
 --- a/lib/Config/Model/HashId.pm
 +++ b/lib/Config/Model/HashId.pm
 @@ -280,6 +280,8 @@

-- 
Debian packaging of libconfig-model-perl



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