解决空项目时取trees会报错
This commit is contained in:
parent
d802992e96
commit
9cea468401
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue