mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-19 01:26:08 +10:00
Merge branch 'fix-github-wiki-import' into 'master'
Fix import of GitHub's wiki when the repository has not been created Fixes #12503 See merge request !2533
This commit is contained in:
@@ -82,8 +82,12 @@ module Gitlab
|
||||
end
|
||||
|
||||
true
|
||||
rescue Gitlab::Shell::Error
|
||||
false
|
||||
rescue Gitlab::Shell::Error => e
|
||||
if e.message =~ /repository not exported/
|
||||
true
|
||||
else
|
||||
false
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user