Open charlie-horn opened 11 months ago
we do currently support re-using topic names but you seem to have hit a corner case where it's broken
normally we look through pr infos in fetch_git_refs() and issue a fetch command for any oids that don't exist locally. i'm not sure why this didn't happen for you, can you run revup -v upload
and paste that output for more info?
for example I re-used a topic name here and did a full git gc --prune=now
https://github.com/Skydio/revup/pull/162. perhaps the commit id is being deleted from the github server as well although I would expect fetch to fail first in that case
Is your feature request related to a problem? Please describe. When setting a topic name that has been used previously, but has since merged and the source branch has been deleted, the following error is thrown
Describe the solution you'd like Unless it is already the topic of an active branch, I'd like to be able to re-use a topic name.
If that isn't possible, catching this error and displaying a message about topic name conflicts would be helpful for the user.
Describe alternatives you've considered The workaround for this would be to always set unique topic names per uploader.