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
91a183bc
Commit
91a183bc
authored
Jul 07, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix log statements in import/export
parent
400f9f72
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lib/gitlab/import_export/command_line_util.rb
lib/gitlab/import_export/command_line_util.rb
+1
-1
lib/gitlab/import_export/saver.rb
lib/gitlab/import_export/saver.rb
+1
-1
No files found.
lib/gitlab/import_export/command_line_util.rb
View file @
91a183bc
...
...
@@ -29,7 +29,7 @@ module Gitlab
def
execute
(
cmd
)
output
,
status
=
Gitlab
::
Popen
.
popen
(
cmd
)
@shared
.
error
(
output
.
to_s
)
unless
status
.
zero?
@shared
.
error
(
Gitlab
::
ImportExport
::
Error
.
new
(
output
.
to_s
)
)
unless
status
.
zero?
status
.
zero?
end
...
...
lib/gitlab/import_export/saver.rb
View file @
91a183bc
...
...
@@ -17,7 +17,7 @@ module Gitlab
Rails
.
logger
.
info
(
"Saved project export
#{
archive_file
}
"
)
archive_file
else
@shared
.
error
(
"Unable to save
#{
archive_file
}
into
#{
@shared
.
export_path
}
"
)
@shared
.
error
(
Gitlab
::
ImportExport
::
Error
.
new
(
"Unable to save
#{
archive_file
}
into
#{
@shared
.
export_path
}
"
)
)
false
end
rescue
=>
e
...
...
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