Skip to content
Snippets Groups Projects
Commit 879b27dc authored by Georges Racinet's avatar Georges Racinet :squid:
Browse files

Topics as Heptapod default branch: avoid some surprises

This fixes the scenario of heptapod#1716 in two different ways:

- we do not change the default Heptapod branch from one topic to another
  if not needed.
- we check if the topic of the existing default branch has become obsolete
  and force switching in that case.

Then we add some protections against the case where the changes prune
the default branch and provide no suitable replacement (such as in
pruning the whole topic), so that momentary persistence of the GitLab
branch does not shadow the fact that an obselete changeset is being
references (this the end cause of the HTTP error 500 anyway).
parent 1dae3eaa
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment