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:
Toshi MARUYAMA 2011-04-11 08:34:59 +00:00
parent a6798d6cc2
commit a5384e4e88
1 changed files with 7 additions and 0 deletions

View File

@ -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