[svk-commit] r3105 - in branches/git-storage: lib/SVK/Command

nobody at bestpractical.com nobody at bestpractical.com
Thu Oct 30 02:29:08 EDT 2008


Author: clkao
Date: Thu Oct 30 02:29:08 2008
New Revision: 3105

Modified:
   branches/git-storage/   (props changed)
   branches/git-storage/lib/SVK/Command/Checkout.pm

Log:
- Merge //mirror/svk/trunk to //mirror/svk/branches/git-storage

Modified: branches/git-storage/lib/SVK/Command/Checkout.pm
==============================================================================
--- branches/git-storage/lib/SVK/Command/Checkout.pm	(original)
+++ branches/git-storage/lib/SVK/Command/Checkout.pm	Thu Oct 30 02:29:08 2008
@@ -133,8 +133,6 @@
 
     my $xd;
     if ($self->{floating}) {
-	my ($depotname) = $self->{xd}->find_depotname ($target->depotpath, 0);
-	my ($depotpath) = ($self->{xd}->find_repos ($target->depotpath, 0));
 	my $svkpath = catfile($copath, '.svk');
 
 	mkdir($copath)
@@ -143,7 +141,7 @@
 	$xd = SVK::XD->new ( giantlock => catfile($svkpath, 'lock'),
 			     statefile => catfile($svkpath, 'config'),
 			     svkpath => $svkpath,
-			     depotmap => { $depotname => $depotpath },
+			     depotmap => { $target->depotname => $target->repospath },
 			     floating => $copath,
 			   );
 	$xd->giant_lock;


More information about the svk-commit mailing list