diff options
author | Ahmad Hassan <ahmad.hassan612@gmail.com> | 2018-06-21 13:56:00 +0200 |
---|---|---|
committer | Ahmad Hassan <ahmad.hassan612@gmail.com> | 2018-06-21 13:56:00 +0200 |
commit | 099eb8ae407bf3cce0e01acc386055ad8151b68e (patch) | |
tree | 5393865ff6b8d1336838b607112fbc26f395eefd /lib/backup | |
parent | 14e35ac9b19d358d84e0cfd167f74036937285b6 (diff) | |
download | gitlab-ce-099eb8ae407bf3cce0e01acc386055ad8151b68e.tar.gz |
Restore custom hooks for wikirestore-custom-hooks-wiki
Diffstat (limited to 'lib/backup')
-rw-r--r-- | lib/backup/repository.rb | 2 |
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) |