Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a6ec81c5
Commit
a6ec81c5
authored
Dec 05, 2019
by
Matthias Käppler
Committed by
Grzegorz Bizon
Dec 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable :import_graceful_failures by default
We tested this with a large import and it's a pretty safe change
parent
c1c6092e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/gitlab/import_export/project_tree_restorer.rb
lib/gitlab/import_export/project_tree_restorer.rb
+1
-1
No files found.
lib/gitlab/import_export/project_tree_restorer.rb
View file @
a6ec81c5
...
...
@@ -105,7 +105,7 @@ module Gitlab
save_id_mapping
(
relation_key
,
data_hash
,
relation_object
)
rescue
=>
e
# re-raise if not enabled
raise
e
unless
Feature
.
enabled?
(
:import_graceful_failures
,
@project
.
group
)
raise
e
unless
Feature
.
enabled?
(
:import_graceful_failures
,
@project
.
group
,
default_enabled:
true
)
log_import_failure
(
relation_key
,
relation_index
,
e
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment