Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-05-03 12:13:10 +0300
committerJames Lopez <james@jameslopez.es>2016-05-03 12:13:10 +0300
commit58b0b1a6615958d2ca7628a06898f81b316e6637 (patch)
tree05978f615fd58fd58620ac967648190e3bf4a0b6 /app/services/projects/import_export
parentfedfba55194ed51c6a7510c01fa94091e92c71cf (diff)
picking export stuff from the UI branch
Diffstat (limited to 'app/services/projects/import_export')
-rw-r--r--app/services/projects/import_export/export_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/projects/import_export/export_service.rb b/app/services/projects/import_export/export_service.rb
index ce13942c5d7..5d5573cba5c 100644
--- a/app/services/projects/import_export/export_service.rb
+++ b/app/services/projects/import_export/export_service.rb
@@ -1,8 +1,9 @@
module Projects
module ImportExport
class ExportService < BaseService
+
def execute(options = {})
- @shared = Gitlab::ImportExport::Shared.new(relative_path: project.path_with_namespace)
+ @shared = Gitlab::ImportExport::Shared.new(relative_path: File.join(project.path_with_namespace, 'work'))
save_project_tree
bundle_repo
save_all