Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
e198eea9
Commit
e198eea9
authored
Aug 07, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change `project.path_with_namespace` to `project.disk_path`
parent
0e191b4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/github/import.rb
lib/github/import.rb
+1
-1
No files found.
lib/github/import.rb
View file @
e198eea9
...
@@ -100,7 +100,7 @@ module Github
...
@@ -100,7 +100,7 @@ module Github
def
fetch_wiki_repository
def
fetch_wiki_repository
return
if
project
.
wiki
.
repository_exists?
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
)
gitlab_shell
.
import_repository
(
project
.
repository_storage_path
,
wiki_path
,
wiki_url
)
rescue
Gitlab
::
Shell
::
Error
=>
e
rescue
Gitlab
::
Shell
::
Error
=>
e
# GitHub error message when the wiki repo has not been created,
# GitHub error message when the wiki repo has not been created,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment