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
This commit is contained in:
Toshi MARUYAMA 2011-05-25 16:13:34 +00:00
parent fa94e86d43
commit e9deec685d
1 changed files with 1 additions and 1 deletions

View File

@ -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