[svk-commit] r2760 - trunk/lib/SVK

nobody at bestpractical.com nobody at bestpractical.com
Sat Apr 26 12:54:59 EDT 2008


Author: clsung
Date: Sat Apr 26 12:54:58 2008
New Revision: 2760

Modified:
   trunk/lib/SVK/Project.pm

Log:
- $prop_path maybe undef if depotpath in svm:mirror has no match
  to the given path

Modified: trunk/lib/SVK/Project.pm
==============================================================================
--- trunk/lib/SVK/Project.pm	(original)
+++ trunk/lib/SVK/Project.pm	Sat Apr 26 12:54:58 2008
@@ -127,6 +127,7 @@
     my $fs              = $pathobj->depot->repos->fs;
     my $root            = $fs->revision_root( $fs->youngest_rev );
     my ($prop_path)     = $root->node_prop('/','svm:mirror') =~ m/^(\S+)\s+$/;
+    $prop_path ||= '/';
     my $allprops        = $root->node_proplist($prop_path);
     my ($depotroot)     = '/';
     my %projnames = 


More information about the svk-commit mailing list