diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-12-02 13:31:04 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-12-02 13:31:04 +0000 |
commit | 37834aa2154ca7b3db427a770d70fd4f4efc1b95 (patch) | |
tree | 8ef71ab97661c71ac4b90bce7b2b668282f3994b /lib/redmine/scm/adapters | |
parent | 43383b735c8129cf9f649246ae9a8fc54fdc3fd0 (diff) | |
download | redmine-37834aa2154ca7b3db427a770d70fd4f4efc1b95.tar.gz redmine-37834aa2154ca7b3db427a770d70fd4f4efc1b95.zip |
fix source indent of lib/redmine/scm/adapters/mercurial_adapter.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20537 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/scm/adapters')
-rw-r--r-- | lib/redmine/scm/adapters/mercurial_adapter.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/redmine/scm/adapters/mercurial_adapter.rb b/lib/redmine/scm/adapters/mercurial_adapter.rb index 8aa971d1b..78396c4bc 100644 --- a/lib/redmine/scm/adapters/mercurial_adapter.rb +++ b/lib/redmine/scm/adapters/mercurial_adapter.rb @@ -324,10 +324,11 @@ module Redmine full_args << '--config' << "extensions.redminehelper=#{HG_HELPER_EXT}" full_args << '--config' << 'diff.git=false' full_args += args - ret = shellout( - self.class.sq_bin + ' ' + full_args.map {|e| shell_quote e.to_s}.join(' '), - &block - ) + ret = + shellout( + self.class.sq_bin + ' ' + full_args.map {|e| shell_quote e.to_s}.join(' '), + &block + ) if $? && $?.exitstatus != 0 raise HgCommandAborted, "hg exited with non-zero status: #{$?.exitstatus}" end |