[Bps-public-commit] r14732 - in Shipwright/trunk: lib/Shipwright/Backend

sunnavy at bestpractical.com sunnavy at bestpractical.com
Sun Aug 3 02:59:12 EDT 2008


Author: sunnavy
Date: Sun Aug  3 02:59:12 2008
New Revision: 14732

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

Log:
 r15233 at sunnavys-mb:  sunnavy | 2008-08-03 12:00:17 +0800
 added cat _cmd for fs backend


Modified: Shipwright/trunk/lib/Shipwright/Backend/FS.pm
==============================================================================
--- Shipwright/trunk/lib/Shipwright/Backend/FS.pm	(original)
+++ Shipwright/trunk/lib/Shipwright/Backend/FS.pm	Sun Aug  3 02:59:12 2008
@@ -91,6 +91,9 @@
     elsif ( $type eq 'info' || $type eq 'list' ) {
         $cmd = [ 'ls', $self->repository . $args{path} ];
     }
+    elsif ( $type eq 'cat' ) {
+        $cmd = [ 'cat', $self->repository . $args{path} ];
+    }
     else {
         croak "invalid command: $type";
     }



More information about the Bps-public-commit mailing list