scm: mercurial: add "summary" method in adapter (#4455).
Contributed by Yuya Nishihara. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4845 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
2c4836cbae
commit
ef3fbeeaa0
|
@ -93,6 +93,13 @@ module Redmine
|
|||
return nil
|
||||
end
|
||||
|
||||
def summary
|
||||
@summary ||= hg 'rhsummary' do |io|
|
||||
ActiveSupport::XmlMini.parse(io.read)['rhsummary']
|
||||
end
|
||||
end
|
||||
private :summary
|
||||
|
||||
def entries(path=nil, identifier=nil)
|
||||
path ||= ''
|
||||
entries = Entries.new
|
||||
|
|
Loading…
Reference in New Issue