[Bps-public-commit] r11812 - in Prophet/trunk: .

jesse at bestpractical.com jesse at bestpractical.com
Tue Apr 22 10:52:34 EDT 2008


Author: jesse
Date: Tue Apr 22 10:52:30 2008
New Revision: 11812

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/ChangeSet.pm

Log:
 r29963 at 31b:  jesse | 2008-04-22 15:44:12 +0200
 * ChangeSet->changes now takes an optional hashref to set changes


Modified: Prophet/trunk/lib/Prophet/ChangeSet.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/ChangeSet.pm	(original)
+++ Prophet/trunk/lib/Prophet/ChangeSet.pm	Tue Apr 22 10:52:30 2008
@@ -77,6 +77,9 @@
 
 sub changes {
     my $self = shift;
+    if (@_) {
+        $self->{'changes'} = shift;
+    }
     return @{ $self->{'changes'} || [] };
 }
 



More information about the Bps-public-commit mailing list