Files
heartwood/radicle-node/src
Fintan Halpenny 511165bfc5 fetch: prevent missing default branch
If a delegate is missing the default branch for a project certain
computations will fail, e.g. getting the canonical mainline branch.

One prevention for corrupting data is refusing to fetch a delegate
that does not have the default branch, when the repository is a
project. It is assumed that the repository is not a project if calling
`Doc::project` returns an error, since the error variants are not
found and parsing errors.

This is only checked in the case of a delegate since non-delegates are
safe to created COBs that don't require the default branch,
e.g. creating an issue.
2023-11-30 13:50:39 +01:00
..
2023-11-30 13:00:59 +01:00
2023-11-30 13:00:59 +01:00
2023-11-30 13:00:59 +01:00
2023-11-17 16:29:29 +01:00
2023-11-06 12:07:27 +01:00
2023-11-30 13:00:59 +01:00
2023-11-30 13:00:59 +01:00
2023-02-07 10:46:12 +01:00
2023-11-30 13:00:59 +01:00
2023-11-17 16:29:29 +01:00
2023-11-16 12:01:10 +00:00