remove redundant 'return' from lib/redmine/scm/adapters/bazaar_adapter.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@20644 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2020-12-12 15:50:14 +00:00
parent 86d05c6314
commit dfc9f20c0c

View File

@@ -85,7 +85,7 @@ module Redmine
end end
info info
rescue ScmCommandAborted rescue ScmCommandAborted
return nil nil
end end
# Returns an Entries collection # Returns an Entries collection
@@ -124,7 +124,7 @@ module Redmine
end end
entries.sort_by_name entries.sort_by_name
rescue ScmCommandAborted rescue ScmCommandAborted
return nil nil
end end
def revisions(path=nil, identifier_from=nil, identifier_to=nil, options={}) def revisions(path=nil, identifier_from=nil, identifier_to=nil, options={})
@@ -192,7 +192,7 @@ module Redmine
end end
revisions revisions
rescue ScmCommandAborted rescue ScmCommandAborted
return nil nil
end end
def diff(path, identifier_from, identifier_to=nil) def diff(path, identifier_from, identifier_to=nil)
@@ -228,7 +228,7 @@ module Redmine
end end
cat cat
rescue ScmCommandAborted rescue ScmCommandAborted
return nil nil
end end
def annotate(path, identifier=nil) def annotate(path, identifier=nil)
@@ -256,7 +256,7 @@ module Redmine
end end
blame blame
rescue ScmCommandAborted rescue ScmCommandAborted
return nil nil
end end
def self.branch_conf_path(path) def self.branch_conf_path(path)