scm: cvs: override Revision.format_identifier() for blame in adapter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5402 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a6798d6cc2
commit
a5384e4e88
|
@ -363,6 +363,13 @@ module Redmine
|
|||
path.sub(/^(\/)*(.*)/,'\2').sub(/(.*)(,v)+/,'\1')
|
||||
end
|
||||
|
||||
class Revision < Redmine::Scm::Adapters::Revision
|
||||
# Returns the readable identifier
|
||||
def format_identifier
|
||||
revision.to_s
|
||||
end
|
||||
end
|
||||
|
||||
def scm_cmd(*args, &block)
|
||||
full_args = [CVS_BIN, '-d', root_url]
|
||||
full_args += args
|
||||
|
|
Loading…
Reference in New Issue