[Bps-public-commit] r13657 - in Shipwright/trunk: .

sunnavy at bestpractical.com sunnavy at bestpractical.com
Fri Jun 27 14:14:16 EDT 2008


Author: sunnavy
Date: Fri Jun 27 14:14:16 2008
New Revision: 13657

Modified:
   Shipwright/trunk/   (props changed)
   Shipwright/trunk/lib/Shipwright/Backend.pm

Log:
 r13892 at sunnavys-mb:  sunnavy | 2008-06-27 23:01:05 +0800
 be aware of fs backend


Modified: Shipwright/trunk/lib/Shipwright/Backend.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Backend.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Backend.pm	Fri Jun 27 14:14:16 2008
@@ -43,6 +43,10 @@
         $args{repository} =~ s{^\s*svn:(?!//)}{};
         $module = 'Shipwright::Backend::SVN';
     }
+    elsif ( $args{repository} =~ m{^\s*fs:} ) {
+        $args{repository} =~ s{^\s*fs:}{};
+        $module = 'Shipwright::Backend::FS';
+    }
     else {
         croak "invalid repository: $args{repository}\n";
     }



More information about the Bps-public-commit mailing list