mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-28 19:51:09 +00:00
fix source indent of lib/redmine/scm/adapters/mercurial_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20022 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4261101ae5
commit
910eb7dfa2
@ -228,7 +228,7 @@ module Redmine
|
|||||||
rescue
|
rescue
|
||||||
''
|
''
|
||||||
end)
|
end)
|
||||||
),
|
),
|
||||||
:time => Time.parse(le['date']['__content__']),
|
:time => Time.parse(le['date']['__content__']),
|
||||||
:message => CGI.unescape(le['msg']['__content__']),
|
:message => CGI.unescape(le['msg']['__content__']),
|
||||||
:paths => paths,
|
:paths => paths,
|
||||||
@ -325,9 +325,9 @@ module Redmine
|
|||||||
full_args << '--config' << 'diff.git=false'
|
full_args << '--config' << 'diff.git=false'
|
||||||
full_args += args
|
full_args += args
|
||||||
ret = shellout(
|
ret = shellout(
|
||||||
self.class.sq_bin + ' ' + full_args.map {|e| shell_quote e.to_s}.join(' '),
|
self.class.sq_bin + ' ' + full_args.map {|e| shell_quote e.to_s}.join(' '),
|
||||||
&block
|
&block
|
||||||
)
|
)
|
||||||
if $? && $?.exitstatus != 0
|
if $? && $?.exitstatus != 0
|
||||||
raise HgCommandAborted, "hg exited with non-zero status: #{$?.exitstatus}"
|
raise HgCommandAborted, "hg exited with non-zero status: #{$?.exitstatus}"
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user