summaryrefslogtreecommitdiffstats
path: root/lib/redmine/scm
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-18 09:30:11 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-18 09:30:11 +0000
commitf9208d7c5c81d4c9fa6183bda475ae42babd75e1 (patch)
tree0cb7456dbbd531bff05587a16275103f8aa510c1 /lib/redmine/scm
parentcbe28d75d0001555a100cf35f23b25d76d12fcf4 (diff)
downloadredmine-f9208d7c5c81d4c9fa6183bda475ae42babd75e1.tar.gz
redmine-f9208d7c5c81d4c9fa6183bda475ae42babd75e1.zip
scm: bazaar: use log encoding as path encoding (#11834)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10420 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/scm')
-rw-r--r--lib/redmine/scm/adapters/bazaar_adapter.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/redmine/scm/adapters/bazaar_adapter.rb b/lib/redmine/scm/adapters/bazaar_adapter.rb
index 7f04cda83..b2413f549 100644
--- a/lib/redmine/scm/adapters/bazaar_adapter.rb
+++ b/lib/redmine/scm/adapters/bazaar_adapter.rb
@@ -62,6 +62,10 @@ module Redmine
super
end
+ def bzr_path_encodig=(encoding)
+ @path_encoding = encoding
+ end
+
# Get info about the repository
def info
cmd_args = %w|revno|