• Stan Hu's avatar
    Fix gitlab rake:import:repos task · 7ac4e2b2
    Stan Hu authored
    This backports !14597 for the 9.5.x branch.
    
    Because of a change in GitLab 9.5.4 to prevent users from assuming control of
    a repository already on disk, the import task broke. Imports would fail with
    the message, "There is already a repository with that name on disk".
    
    This change skips the validation when the import is done from the
    command-line.
    
    Closes #37682
    7ac4e2b2
project.rb 42.7 KB