[svk-commit] r2668 - trunk/lib/SVK
    nobody at bestpractical.com 
    nobody at bestpractical.com
       
    Mon Dec 24 04:27:31 EST 2007
    
    
  
Author: clsung
Date: Mon Dec 24 04:27:31 2007
New Revision: 2668
Modified:
   trunk/lib/SVK/Project.pm
Log:
- allow match project even if speficied path is repos root
Modified: trunk/lib/SVK/Project.pm
==============================================================================
--- trunk/lib/SVK/Project.pm	(original)
+++ trunk/lib/SVK/Project.pm	Mon Dec 24 04:27:31 2007
@@ -147,7 +147,7 @@
 		    branch_location => $props{'path-branches'},
 		    tag_location    => $props{'path-tags'},
 		    local_root      => "/local/${project_name}",
-		}) if $pathobj->path =~ m/^$props{$key}/;
+		}) if $pathobj->path =~ m/^$props{$key}/ or $props{$key} =~ m/^$pathobj->{path}/
 	}
     }
     return undef;
    
    
More information about the svk-commit
mailing list