Changeset 3215
- Timestamp:
- 05/23/2016 07:31:53 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/tools/class-svn.php
r3214 r3215 33 33 $esc_url = escapeshellarg( $url ); 34 34 35 $output = shell_exec( " LC_ALL=C.UTF-8svn import $esc_options $esc_path $esc_url 2>&1" );35 $output = shell_exec( "svn import $esc_options $esc_path $esc_url 2>&1" ); 36 36 if ( preg_match( '/Committed revision (?P<revision>\d+)[.]/i', $output, $m ) ) { 37 37 $revision = (int) $m['revision']; … … 64 64 $esc_destination = escapeshellarg( $destination ); 65 65 66 $output = shell_exec( " LC_ALL=C.UTF-8svn export $esc_options $esc_url $esc_destination 2>&1" );66 $output = shell_exec( "svn export $esc_options $esc_url $esc_destination 2>&1" ); 67 67 if ( preg_match( '/Exported revision (?P<revision>\d+)[.]/i', $output, $m ) ) { 68 68 $revision = (int) $m['revision']; … … 94 94 $esc_url = escapeshellarg( $url ); 95 95 96 $output = shell_exec( " LC_ALL=C.UTF-8svn ls $esc_options $esc_url 2>&1" );96 $output = shell_exec( "svn ls $esc_options $esc_url 2>&1" ); 97 97 98 98 $errors = self::parse_svn_errors( $output );
Note: See TracChangeset
for help on using the changeset viewer.