[svk-commit] r3138 - branches/git-storage/lib/SVK

nobody at bestpractical.com nobody at bestpractical.com
Fri Nov 7 05:15:51 EST 2008


Author: clsung
Date: Fri Nov  7 05:15:50 2008
New Revision: 3138

Modified:
   branches/git-storage/lib/SVK/Path.pm

Log:
- return Git root

Modified: branches/git-storage/lib/SVK/Path.pm
==============================================================================
--- branches/git-storage/lib/SVK/Path.pm	(original)
+++ branches/git-storage/lib/SVK/Path.pm	Fri Nov  7 05:15:50 2008
@@ -118,6 +118,7 @@
     my $self = shift;
     my $pool = @_ ? undef : $self->pool;
     Carp::cluck unless defined $self->revision;
+    return $self->repos->root if $self->repos->isa('SVK::Path::Git');
     $self->_root(SVK::Root->new({ root => $self->repos->fs->revision_root
 				  ($self->revision, $pool) }))
 	unless $self->_root;


More information about the svk-commit mailing list