[svk-commit] r2253 - branches/2.0-releng/lib/SVK

nobody at bestpractical.com nobody at bestpractical.com
Thu Dec 21 11:09:07 EST 2006


Author: clkao
Date: Thu Dec 21 11:09:06 2006
New Revision: 2253

Modified:
   branches/2.0-releng/lib/SVK/Config.pm

Log:
If svnconfig is already loaded, use it even SVKNOSVNCONFIG is set.

Modified: branches/2.0-releng/lib/SVK/Config.pm
==============================================================================
--- branches/2.0-releng/lib/SVK/Config.pm	(original)
+++ branches/2.0-releng/lib/SVK/Config.pm	Thu Dec 21 11:09:06 2006
@@ -89,10 +89,10 @@
 
 sub svnconfig {
     my $class = shift;
-    return undef if $ENV{SVKNOSVNCONFIG};
-
     return $class->_svnconfig if $class->_svnconfig;
 
+    return undef if $ENV{SVKNOSVNCONFIG};
+
     SVN::Core::config_ensure(undef);
     return $class->_svnconfig( SVN::Core::config_get_config(undef, $pool) );
 }


More information about the svk-commit mailing list