diff options
author | Valery Sizov <valery@gitlab.com> | 2016-12-19 20:44:57 +0200 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-12-19 20:48:08 +0200 |
commit | 5b0ebbe5b4c18c136aad2a53898c1a6441d39a9d (patch) | |
tree | a984bf0c2ff5fa499ae66a01e266c1c04bec4799 /lib/bitbucket/representation | |
parent | 2c49c1af660a8e69446be442df81f9beaf0cf168 (diff) | |
download | gitlab-ce-5b0ebbe5b4c18c136aad2a53898c1a6441d39a9d.tar.gz |
Add Wiki import to BB importer
Diffstat (limited to 'lib/bitbucket/representation')
-rw-r--r-- | lib/bitbucket/representation/repo.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bitbucket/representation/repo.rb b/lib/bitbucket/representation/repo.rb index 8969ecd1c19..423eff8f2a5 100644 --- a/lib/bitbucket/representation/repo.rb +++ b/lib/bitbucket/representation/repo.rb @@ -51,6 +51,10 @@ module Bitbucket raw['scm'] == 'git' end + def has_wiki? + raw['has_wiki'] + end + def visibility_level if raw['is_private'] Gitlab::VisibilityLevel::PRIVATE |