Redmine 4.1.1
This commit is contained in:
parent
33e7b881a5
commit
3d976f1b3b
1593 changed files with 36180 additions and 19489 deletions
|
@ -1,10 +1,13 @@
|
|||
require 'rexml/document'
|
||||
# frozen_string_literal: true
|
||||
|
||||
require 'redmine/scm/adapters/subversion_adapter'
|
||||
|
||||
module Redmine
|
||||
module VERSION #:nodoc:
|
||||
MAJOR = 3
|
||||
MINOR = 4
|
||||
TINY = 13
|
||||
# @private
|
||||
module VERSION
|
||||
MAJOR = 4
|
||||
MINOR = 1
|
||||
TINY = 1
|
||||
|
||||
# Branch values:
|
||||
# * official release: nil
|
||||
|
@ -17,7 +20,7 @@ module Redmine
|
|||
if File.directory?(File.join(Rails.root, '.svn'))
|
||||
begin
|
||||
path = Redmine::Scm::Adapters::AbstractAdapter.shell_quote(Rails.root.to_s)
|
||||
if `svn info --xml #{path}` =~ /revision="(\d+)"/
|
||||
if `#{Redmine::Scm::Adapters::SubversionAdapter.client_command} info --xml #{path}` =~ /commit\s+revision="(\d+)"/
|
||||
return $1.to_i
|
||||
end
|
||||
rescue
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue