Skip to content

Commit c88f88c

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
1 parent 9fcb9b4 commit c88f88c

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
@@ -330,10 +330,10 @@ private function svn_call( $p_repo=null ) {
330330

331331
# Get a full binary call, including configured parameters
332332
if ( is_null( $s_call ) ) {
333-
$s_call = self::svn_binary() . ' --non-interactive';
334-
335333
plugin_push_current( 'SourceSVN' );
336334

335+
$s_call = self::svn_binary() . ' --non-interactive';
336+
337337
if ( plugin_config_get( 'svnssl', false ) ) {
338338
$s_call .= ' --trust-server-cert';
339339
}

0 commit comments

Comments
 (0)