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

nobody at bestpractical.com nobody at bestpractical.com
Wed May 21 03:27:51 EDT 2008


Author: clsung
Date: Wed May 21 03:27:51 2008
New Revision: 2900

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

Log:
- for http://task.hm/ELIH
  - which the path does not exists but only show Invalide --from argument
    - not even using --from in this case

Modified: trunk/lib/SVK/Command/Branch.pm
==============================================================================
--- trunk/lib/SVK/Command/Branch.pm	(original)
+++ trunk/lib/SVK/Command/Branch.pm	Wed May 21 03:27:51 2008
@@ -261,7 +261,7 @@
     my $newbranch_path = $self->dst_path($proj, $branch_name);
 
     my $src = $self->arg_uri_maybe($src_path);
-    die loc("Invalid --from argument") if
+    die loc("Path %1 does not exist.\n",$src->depotpath) if
 	$SVN::Node::none == $src->root->check_path($src->path);
     my $dst = $self->arg_uri_maybe($newbranch_path);
     $SVN::Node::none == $dst->root->check_path($dst->path)


More information about the svk-commit mailing list