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
|
else
|
||||||
bcp = path
|
bcp = path
|
||||||
end
|
end
|
||||||
bcp.gsub!(/[\/\\]$/, "")
|
bcp.gsub!(%r{[\/\\]$}, "")
|
||||||
if bcp
|
if bcp
|
||||||
bcp = File.join(bcp, ".bzr", "branch", "branch.conf")
|
bcp = File.join(bcp, ".bzr", "branch", "branch.conf")
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user