Skip to content
Snippets Groups Projects
Georges Racinet's avatar
Georges Racinet authored
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).
879b27dc
History
Name Last commit Last update