[Bps-public-commit] r14991 - in Shipwright/branches/2.0: lib/Shipwright/Backend
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Mon Aug 11 06:03:22 EDT 2008
Author: sunnavy
Date: Mon Aug 11 06:03:18 2008
New Revision: 14991
Modified:
Shipwright/branches/2.0/ (props changed)
Shipwright/branches/2.0/lib/Shipwright/Backend/FS.pm
Log:
r15458 at sunnavys-mb: sunnavy | 2008-08-11 16:01:26 +0800
as option can have sub dirs like tags/1.2
Modified: Shipwright/branches/2.0/lib/Shipwright/Backend/FS.pm
==============================================================================
--- Shipwright/branches/2.0/lib/Shipwright/Backend/FS.pm (original)
+++ Shipwright/branches/2.0/lib/Shipwright/Backend/FS.pm Mon Aug 11 06:03:18 2008
@@ -72,10 +72,13 @@
}
else {
if ( $self->has_branch_support ) {
- unless ( -e $self->repository . "/sources/$args{name}/" ) {
+ unless ( -e $self->repository
+ . "/sources/$args{name}/$args{as}" )
+ {
push @cmd,
[
- 'mkdir', $self->repository . "/sources/$args{name}/"
+ 'mkdir', '-p',
+ $self->repository . "/sources/$args{name}/$args{as}"
];
}
More information about the Bps-public-commit
mailing list