Commit af09f214 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Mercurial native projects still have Git repos for now

This will be essential for backups to work, and will have
to be reverted for the HGitaly2 milestone.

--HG--
branch : heptapod
parent abf469a24299
...@@ -40,7 +40,7 @@ class Project < ApplicationRecord ...@@ -40,7 +40,7 @@ class Project < ApplicationRecord
BoardLimitExceeded = Class.new(StandardError) BoardLimitExceeded = Class.new(StandardError)
MERCURIAL_VCS_TYPES = %w[hg hg_git].freeze MERCURIAL_VCS_TYPES = %w[hg hg_git].freeze
VCS_TYPES_WITH_GIT_REPO = %w[hg_git git].freeze VCS_TYPES_WITH_GIT_REPO = %w[hg_git hg git].freeze
STATISTICS_ATTRIBUTE = 'repositories_count' STATISTICS_ATTRIBUTE = 'repositories_count'
UNKNOWN_IMPORT_URL = 'http://unknown.git' UNKNOWN_IMPORT_URL = 'http://unknown.git'
# Hashed Storage versions handle rolling out new storage to project and dependents models: # Hashed Storage versions handle rolling out new storage to project and dependents models:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment