解决空项目时取trees会报错

This commit is contained in:
guange 2015-10-22 09:52:01 +08:00
parent d802992e96
commit 9cea468401
1 changed files with 2 additions and 0 deletions

View File

@ -100,6 +100,8 @@ module Redmine
entries.sort_by_name entries.sort_by_name
rescue ScmCommandAborted rescue ScmCommandAborted
nil nil
rescue Exception
nil
end end
def lastrev(path, rev) def lastrev(path, rev)