[Rt-commit] r5959 - in commitbit: .

jesse at bestpractical.com jesse at bestpractical.com
Sat Sep 16 16:51:22 EDT 2006


Author: jesse
Date: Sat Sep 16 16:51:21 2006
New Revision: 5959

Modified:
   commitbit/   (props changed)
   commitbit/lib/CommitBit/Model/Repository.pm

Log:
 r27585 at pinglin:  jesse | 2006-09-16 21:51:18 +0100
  * deal with null paths in repos better


Modified: commitbit/lib/CommitBit/Model/Repository.pm
==============================================================================
--- commitbit/lib/CommitBit/Model/Repository.pm	(original)
+++ commitbit/lib/CommitBit/Model/Repository.pm	Sat Sep 16 16:51:21 2006
@@ -142,9 +142,9 @@
     my $self = shift;
     my $project = shift;
 
-    $self->_svn('mkdir', -m => 'Project '.$project->name.' init by CommitBit '.$CommitBit::VERSION,
+    $self->_svn('mkdir', '-p', -m => 'Project '.$project->name.' init by CommitBit '.$CommitBit::VERSION,
 		map { "file://".File::Spec::Unix->catdir($self->local_path, $project->root_path, $_)}
-	        '', 'trunk', 'branches', 'tags');
+	         'trunk', 'branches', 'tags');
 
     $self->write_authz_file();
 }


More information about the Rt-commit mailing list