radicle-cli
radicle-cli copied to clipboard
Attempting to remove a remote results in error
A regression was introduced in the recent sync merge (b09bffc) causing 'git remote rm' to fail.
For example. as the contributing user (scooby) from the contributor workflow
# rad remote rm cloudhead
== Command failed entry is not unique due to being a multivar; class=Config (7)
The error results from multiple remotes with the same name being present. It is found in the profile's git include file, and in the working copy's local git configuration.
During cloning, the project is checked out using radicle-link and adds an entry in the profiles git include file, likely because its a tracked peer. After, the 'remote' is saved again in the working copy from SetupRemote in rad_checkout::execute.