RemoveRepository: make repo name in trash unique
In case a project id is reused (Heptapod application context, since the repo path is derived from the project id) or a repository path is reused (e.g. in RSpec tests), it is possible that a previous failed cleanup (crash or brutal stop before the final trashed repo `rmtree) would get in the way of the removal. Unlikely, but easy to prevent by making the name in trash unique (time-based, random would also have been good).
parent
10d6717c
Loading
Please register or sign in to comment