@@ -142,7 +142,8 module Redmine | |||
|
142 | 142 | |
|
143 | 143 | if state=="entry_start" |
|
144 | 144 | branch_map=Hash.new |
|
145 | if /^RCS file: #{Regexp.escape(root_url)}\/#{Regexp.escape(path_with_project)}(.+),v$/ =~ line | |
|
145 | # gsub(/^:.*@[^:]+:/, '') is here to remove :pserver:anonymous@foo.bar: string if present in the url | |
|
146 | if /^RCS file: #{Regexp.escape(root_url.gsub(/^:.*@[^:]+:/, ''))}\/#{Regexp.escape(path_with_project)}(.+),v$/ =~ line | |
|
146 | 147 | entry_path = normalize_cvs_path($1) |
|
147 | 148 | entry_name = normalize_path(File.basename($1)) |
|
148 | 149 | logger.debug("Path #{entry_path} <=> Name #{entry_name}") |
General Comments 0
You need to be logged in to leave comments.
Login now