Skip to content
  • Georges Racinet's avatar
    Gitlab::Mercurial started using a dedicated repo class · 972ed4e01239
    Georges Racinet authored
    We're calling it HgGitRepository to keep open the future
    possibility to have also a HGitalyRepository later on.
    Although it's possible we won't be needing it.
    
    This changeset defines the class and calls it from
    the Repository *model*.
    
    A final remark for people not familiar with Rails: it's
    absolutely necessary to respect the file/class convention.
    Otherwise, everything will look fine for the main app in development
    mode, but the class may not be loaded in some other cases, notably
    from rake in production mode (if mode is even relevant to rake)
    972ed4e01239