mirror of
https://github.com/redmine/redmine.git
synced 2025-11-07 22:05:56 +01:00
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:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user