summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-08-07 14:18:05 -0300
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2017-08-07 14:18:05 -0300
commite198eea90fe8de5770a8baf4028c2b1d30278324 (patch)
tree69416d8de3ea60affa7e6d1181a5b9c62c4ffb68 /lib
parent0e191b4ccd6ec8aa22b9d2244a3793daa254bc05 (diff)
downloadgitlab-ce-e198eea90fe8de5770a8baf4028c2b1d30278324.tar.gz
Change `project.path_with_namespace` to `project.disk_path`
Diffstat (limited to 'lib')
-rw-r--r--lib/github/import.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/github/import.rb b/lib/github/import.rb
index 611ea35964e..4cc01593ef4 100644
--- a/lib/github/import.rb
+++ b/lib/github/import.rb
@@ -100,7 +100,7 @@ module Github
def fetch_wiki_repository
return if project.wiki.repository_exists?
- wiki_path = "#{project.path_with_namespace}.wiki"
+ wiki_path = "#{project.disk_path}.wiki"
gitlab_shell.import_repository(project.repository_storage_path, wiki_path, wiki_url)
rescue Gitlab::Shell::Error => e
# GitHub error message when the wiki repo has not been created,