Skip to content

Commit e21b9e3

Browse files
bright-toolsdregad
authored andcommitted
Move plugin_push_current() before svn_binary() in svn_call()
Move the call to plugin_push_current() to be before the first call to svn_binary() to ensure that svn_binary()'s calls to plugin_config_get() retrieve the options from SourceSVN's config options rather than any plugin inheriting from SourceSVN Fixes #242 Backported from c88f88c
1 parent 89c71d6 commit e21b9e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SourceSVN/SourceSVN.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,10 +315,10 @@ private function svn_call( $p_repo=null ) {
315315

316316
# Get a full binary call, including configured parameters
317317
if ( is_null( $s_call ) ) {
318-
$s_call = self::svn_binary() . ' --non-interactive';
319-
320318
plugin_push_current( 'SourceSVN' );
321319

320+
$s_call = self::svn_binary() . ' --non-interactive';
321+
322322
if ( plugin_config_get( 'svnssl', false ) ) {
323323
$s_call .= ' --trust-server-cert';
324324
}

0 commit comments

Comments
 (0)