mirror of
https://github.com/redmine/redmine.git
synced 2025-11-04 20:35:57 +01:00
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4794 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -109,7 +109,7 @@ module Redmine
|
||||
|
||||
path_with_project="#{url}#{with_leading_slash(path)}"
|
||||
cmd = "#{CVS_BIN} -d #{shell_quote root_url} rlog"
|
||||
cmd << " -d\">#{time_to_cvstime(identifier_from)}\"" if identifier_from
|
||||
cmd << " -d\">#{time_to_cvstime_rlog(identifier_from)}\"" if identifier_from
|
||||
cmd << " #{shell_quote path_with_project}"
|
||||
shellout(cmd) do |io|
|
||||
state="entry_start"
|
||||
@@ -290,6 +290,12 @@ module Redmine
|
||||
end
|
||||
return time.strftime("%Y-%m-%d %H:%M:%S")
|
||||
end
|
||||
|
||||
def time_to_cvstime_rlog(time)
|
||||
return nil if time.nil?
|
||||
t1 = time.clone.localtime
|
||||
return t1.strftime("%Y-%m-%d %H:%M:%S")
|
||||
end
|
||||
|
||||
def normalize_cvs_path(path)
|
||||
normalize_path(path.gsub(/Attic\//,''))
|
||||
|
||||
Reference in New Issue
Block a user