Steps to reproduce:
- Create a new repository https://tangled.sh/repo/new
- Leave the default branch as is (main), and use the default knot knot1.tangled.sh
- git init (my version creates a default branch called 'master')
- git remote add origin git@tangled.sh:edwintorok.bsky.social/test1
- git push --set-upstream origin master
- Reload the webpage https://tangled.sh/@edwintorok.bsky.social/test1
Actual error: "The knot hosting this repository needs an upgrade. This repository is currently unavailable."
Expected: An error about mismatching default branches (all is fine if the repo is completely empty, it only fails when the default branch is missing)
Workaround: rename the branch, push 'main', delete 'master'.
P.S.: not sure whether this issue has been reported already or not, the 'issues' tab says that there are 94 issues, displays about 10, and has no search functionality I could find, I'll report that as a separate issue.