Commit 6983ea49eddfdf0b991eb3177205c7b6ab495f3e

Support repositories with foreign names by setting LANGUAGE and not LC_ALL.

git-svn-id: svn+ssh://rubyforge.org/var/svn/piston/trunk@113 d6c2ea82-c31b-0410-8381-e9c44f9824c5

Commit diff

CHANGELOG

 
11*SVN*
22
3* Per http://rubyforge.org/tracker/?func=detail&atid=8179&aid=10717&group_id=2105
4 Don't set LC_ALL, but set LANGUAGE so that repositories with foreign
5 characters can be used. Thanks go to Per Wigren.
6
372007-03-22 1.3.3
48* Repaired problems with import subcommand. Wrote specifications to prevent
59 the same failure mode again.
toggle raw diff

lib/piston/command.rb

 
3737 command = "svn #{args.join(' ')}"
3838 logging_stream.puts command if verbose
3939 return if dry_run
40 ENV['LC_ALL'] = 'C'
40 ENV['LANGUAGE'] = 'en_US'
4141 result = `#{command}`
4242 logging_stream.puts result if verbose
4343 raise "Command #{command} resulted in an error:\n\n#{result}" unless $?.exitstatus.zero?
toggle raw diff