@@ -95,6 +95,10 module Redmine | |||||
95 | Info.new(:root_url => CGI.unescape(summary['repository']['root']), |
|
95 | Info.new(:root_url => CGI.unescape(summary['repository']['root']), | |
96 | :lastrev => Revision.new(:revision => tip['revision'], |
|
96 | :lastrev => Revision.new(:revision => tip['revision'], | |
97 | :scmid => tip['node'])) |
|
97 | :scmid => tip['node'])) | |
|
98 | # rescue HgCommandAborted | |||
|
99 | rescue Exception => e | |||
|
100 | logger.error "hg: error during getting info: #{e.message}" | |||
|
101 | nil | |||
98 | end |
|
102 | end | |
99 |
|
103 | |||
100 | def tags |
|
104 | def tags |
General Comments 0
You need to be logged in to leave comments.
Login now