add exitstatus to debug merging pull requests
This commit is contained in:
parent
8fa9b4ad3b
commit
4d046dd990
|
@ -87,7 +87,7 @@ class PullRequest < ActiveRecord::Base
|
||||||
system("git reset --hard HEAD^") # for diff maybe FIXME
|
system("git reset --hard HEAD^") # for diff maybe FIXME
|
||||||
|
|
||||||
if old_commit.id == to_project.repo.commits(to_ref).first.id
|
if old_commit.id == to_project.repo.commits(to_ref).first.id
|
||||||
raise "merge result pull_request #{id}: #{res}; #{res2}"
|
raise "merge result pull_request #{id}: #{$?.exitstatus}; #{res2}; #{res}"
|
||||||
end
|
end
|
||||||
set_user_and_time who
|
set_user_and_time who
|
||||||
merging
|
merging
|
||||||
|
|
Loading…
Reference in New Issue