diff --git a/lib/redmine/scm/adapters/darcs_adapter.rb b/lib/redmine/scm/adapters/darcs_adapter.rb index bc0dae508..38889bf0e 100644 --- a/lib/redmine/scm/adapters/darcs_adapter.rb +++ b/lib/redmine/scm/adapters/darcs_adapter.rb @@ -100,7 +100,8 @@ module Redmine end end return nil if $? && $?.exitstatus != 0 - entries.compact.sort_by_name + entries.compact! + entries.sort_by_name end def revisions(path=nil, identifier_from=nil, identifier_to=nil, options={})