Redmine 4.1.7
This commit is contained in:
parent
55458d3479
commit
3ca3c37487
103 changed files with 2426 additions and 431 deletions
|
@ -291,6 +291,15 @@ module Redmine
|
|||
Annotate.new
|
||||
end
|
||||
|
||||
def valid_name?(name)
|
||||
return false unless name.nil? || name.is_a?(String)
|
||||
|
||||
# Mercurials names don't need to be checked further as its CLI
|
||||
# interface is restrictive enough to reject any invalid names on its
|
||||
# own.
|
||||
true
|
||||
end
|
||||
|
||||
class Revision < Redmine::Scm::Adapters::Revision
|
||||
# Returns the readable identifier
|
||||
def format_identifier
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue