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

nobody at bestpractical.com nobody at bestpractical.com
Tue Apr 22 19:02:12 EDT 2008


Author: clsung
Date: Tue Apr 22 19:02:11 2008
New Revision: 2753

Modified:
   trunk/lib/SVK/Project.pm

Log:
- always try to load_from_prop via rootpath set in
  "svm:mirror"

Modified: trunk/lib/SVK/Project.pm
==============================================================================
--- trunk/lib/SVK/Project.pm	(original)
+++ trunk/lib/SVK/Project.pm	Tue Apr 22 19:02:11 2008
@@ -125,7 +125,8 @@
 
     my $fs              = $pathobj->depot->repos->fs;
     my $root            = $fs->revision_root( $fs->youngest_rev );
-    my $allprops        = $root->node_proplist('/');
+    my ($prop_path)     = $root->node_prop('/','svm:mirror') =~ m/^(\S+)\s+$/;
+    my $allprops        = $root->node_proplist($prop_path);
     my ($depotroot)     = '/';
     my %projnames = 
         map  { $_ => 1 }


More information about the svk-commit mailing list