summaryrefslogtreecommitdiff
path: root/lib/gitlab/import_export/wiki_repo_saver.rb
diff options
context:
space:
mode:
authorAhmad Sherif <me@ahmadsherif.com>2018-01-18 17:33:35 +0000
committerAhmad Sherif <me@ahmadsherif.com>2018-01-24 12:10:31 +0100
commit24625323a826d70991fdf27fbbe1f39bee845c03 (patch)
tree8c7b3e7c949638ae1be4d655345f798e2d9bea9e /lib/gitlab/import_export/wiki_repo_saver.rb
parente2a56af930f9f7d17a6a9b638f52007a60e4cc60 (diff)
downloadgitlab-ce-24625323a826d70991fdf27fbbe1f39bee845c03.tar.gz
Migrate repository bundling to Gitalyfeature/migrate-bundle-to-disk-to-gitaly
Closes gitaly#929
Diffstat (limited to 'lib/gitlab/import_export/wiki_repo_saver.rb')
-rw-r--r--lib/gitlab/import_export/wiki_repo_saver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/wiki_repo_saver.rb b/lib/gitlab/import_export/wiki_repo_saver.rb
index 1e6722a7bba..5fa2e101e29 100644
--- a/lib/gitlab/import_export/wiki_repo_saver.rb
+++ b/lib/gitlab/import_export/wiki_repo_saver.rb
@@ -10,7 +10,7 @@ module Gitlab
def bundle_to_disk(full_path)
mkdir_p(@shared.export_path)
- git_bundle(repo_path: path_to_repo, bundle_path: full_path)
+ @wiki.repository.bundle_to_disk(full_path)
rescue => e
@shared.error(e)
false