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:
authorAhmad Hassan <ahmad.hassan612@gmail.com>2018-06-21 14:56:00 +0300
committerAhmad Hassan <ahmad.hassan612@gmail.com>2018-06-21 14:56:00 +0300
commit099eb8ae407bf3cce0e01acc386055ad8151b68e (patch)
tree5393865ff6b8d1336838b607112fbc26f395eefd /lib/backup
parent14e35ac9b19d358d84e0cfd167f74036937285b6 (diff)
Restore custom hooks for wiki
Diffstat (limited to 'lib/backup')
-rw-r--r--lib/backup/repository.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/backup/repository.rb b/lib/backup/repository.rb
index 221ba52b490..50a5e340191 100644
--- a/lib/backup/repository.rb
+++ b/lib/backup/repository.rb
@@ -206,6 +206,8 @@ module Backup
progress.print " * #{wiki.full_path} ... "
begin
wiki.repository.create_from_bundle(path_to_wiki_bundle)
+ restore_custom_hooks(wiki)
+
progress.puts "[DONE]".color(:green)
rescue => e
progress.puts "[Failed] restoring #{wiki.full_path} wiki".color(:red)