diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-25 16:13:34 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-25 16:13:34 +0000 |
commit | e9deec685d7fe86da161839b501ba50e3e7bba67 (patch) | |
tree | 740e56fec06a1677e2e47df3fbdb59723ef1b944 /lib/redmine/scm/adapters | |
parent | fa94e86d43c98c0b9dc5aeb19fdce2444574c465 (diff) | |
download | redmine-e9deec685d7fe86da161839b501ba50e3e7bba67.tar.gz redmine-e9deec685d7fe86da161839b501ba50e3e7bba67.zip |
scm: bazaar: use regexp %r{} instead of // in adapter branch_conf_path().
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5900 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/scm/adapters')
-rw-r--r-- | lib/redmine/scm/adapters/bazaar_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/scm/adapters/bazaar_adapter.rb b/lib/redmine/scm/adapters/bazaar_adapter.rb index ca980052c..231b4748e 100644 --- a/lib/redmine/scm/adapters/bazaar_adapter.rb +++ b/lib/redmine/scm/adapters/bazaar_adapter.rb @@ -229,7 +229,7 @@ module Redmine else bcp = path end - bcp.gsub!(/[\/\\]$/, "") + bcp.gsub!(%r{[\/\\]$}, "") if bcp bcp = File.join(bcp, ".bzr", "branch", "branch.conf") end |