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

nobody at bestpractical.com nobody at bestpractical.com
Wed Aug 13 21:32:09 EDT 2008


Author: clsung
Date: Wed Aug 13 21:32:08 2008
New Revision: 3066

Modified:
   trunk/lib/SVK/Project.pm

Log:
- for http://task.hm/GI9U
  - user may have <pname>-trunk as local branch
    so better just check to '/local'

Modified: trunk/lib/SVK/Project.pm
==============================================================================
--- trunk/lib/SVK/Project.pm	(original)
+++ trunk/lib/SVK/Project.pm	Wed Aug 13 21:32:08 2008
@@ -378,7 +378,7 @@
 	    $bname = $self->branch_name($target->path);
 	} elsif ($self->tag_location and dir($self->tag_location)->subsumes($target->path)) {
 	    $bname = $self->tag_name($target->path);
-	} elsif (dir($self->local_root)->subsumes($target->path)) {
+	} elsif ($target->_to_pclass("/local")->subsumes($target->path)) {
 	    $where = 'offline';
 	    $bname = $self->branch_name($target->path,1);
 	}


More information about the svk-commit mailing list