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:
parent
fa94e86d43
commit
e9deec685d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue