Search Unity

Question Can not delete a repository

Discussion in 'Unity Version Control' started by codeBatt, Mar 13, 2023.

  1. codeBatt

    codeBatt

    Joined:
    Feb 12, 2020
    Posts:
    40
    Hello, I am trying to delete a repository, but it shows this error. Could not find anything online, what could be the reason ?

    Screenshot:
    upload_2023-3-13_3-11-24.png
     
  2. carlosalba1985

    carlosalba1985

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    1,064
    Hi,

    It happens because you have opened a workspace in the GUI pointing to the repo you want to delete.
    To avoid the GUI starting showing multiple errors because the repo is missing, there is this limitation.

    You need to open the GUI (not this specific workspace) and this way, you should be able to delete the repo.

    Please let us know if it helps.

    Regards,
    Carlos.
     
    codeBatt likes this.
  3. codeBatt

    codeBatt

    Joined:
    Feb 12, 2020
    Posts:
    40
    Your are my savior! It worked I was trying to do it for a week thanks a lot.
     
  4. carlosalba1985

    carlosalba1985

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    1,064
    Thanks for the update!
     
    codeBatt likes this.
  5. InfiniteDesign8

    InfiniteDesign8

    Joined:
    Aug 22, 2017
    Posts:
    38
    You need to open the GUI (not this specific workspace)..could you more specific i do not understand
     
  6. InfiniteDesign8

    InfiniteDesign8

    Joined:
    Aug 22, 2017
    Posts:
    38
    is everything not a GUI these days
     
  7. carlosalba1985

    carlosalba1985

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    1,064
    You can also delete a repo via CLI:
    cm repository delete --help