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

nobody at bestpractical.com nobody at bestpractical.com
Wed May 7 05:16:27 EDT 2008


Author: clsung
Date: Wed May  7 05:16:25 2008
New Revision: 2818

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

Log:
- fix when only --checkout xxx specified

Modified: trunk/lib/SVK/Command/Branch.pm
==============================================================================
--- trunk/lib/SVK/Command/Branch.pm	(original)
+++ trunk/lib/SVK/Command/Branch.pm	Wed May  7 05:16:25 2008
@@ -475,7 +475,7 @@
 
     my $branch_name = shift(@arg);
     my ($project_path, $checkout_path) = ('','');
-    if (is_depotpath($arg[$#arg])) {
+    if (@arg and is_depotpath($arg[$#arg])) {
 	$project_path = pop(@arg);
     }
     $checkout_path = pop(@arg);


More information about the svk-commit mailing list