[svk-commit] r2957 - trunk/lib/SVK/Command

nobody at bestpractical.com nobody at bestpractical.com
Thu Jul 3 13:28:08 EDT 2008


Author: ruz
Date: Thu Jul  3 13:28:07 2008
New Revision: 2957

Modified:
   trunk/lib/SVK/Command/Switch.pm

Log:
* move comment to the right place

Modified: trunk/lib/SVK/Command/Switch.pm
==============================================================================
--- trunk/lib/SVK/Command/Switch.pm	(original)
+++ trunk/lib/SVK/Command/Switch.pm	Thu Jul  3 13:28:07 2008
@@ -86,12 +86,12 @@
 	unless $where[0] eq $cotarget->copath;
 
     $target = $target->as_depotpath ($self->{rev});
-#    switch to related_to once the api is ready
-    # check if the switch has a base at all
     die loc("Path %1 does not exist.\n", $target->report)
 	if $target->root->check_path ($target->path_anchor) == $SVN::Node::none;
     SVK::Merge->auto (%$self, repos => $target->repos,
 		      src => $cotarget, dst => $target);
+#    switch to related_to once the api is ready
+    # check if the switch has a base at all
 #    die loc ("%1 is not related to %2.\n", $cotarget->{report}, $target->{report})
 #	unless $cotarget->new->as_depotpath->related_to ($target);
 


More information about the svk-commit mailing list