• 
      

    Provide a good error when trying to POST a duplicate repository.

    Review Request #6795 — Created Jan. 17, 2015 and submitted — Latest diff uploaded

    Information

    Review Board
    release-2.0.x
    8df907d...

    Reviewers

    Our validation when using the repository resource to create new repositories
    handled the case where an individual field in the model didn't validate, but
    didn't handle the case of conflicting names.

    This adds a new API error for when the repository already exists, and adds a
    test to verify that it's being used.

    Ran unit tests.