Skip to content
Snippets Groups Projects
Commit 596b6b4e authored by Georges Racinet's avatar Georges Racinet
Browse files

RepositoryService.WriteRef: avoid all exceptions in special refs

Usually, I would stand against wide exception catching, even with
proper logging.

But in this case, we're about (Heptapod 0.20.2) to have the Rails
app repeat all special refs creations to HGitaly, and it should
soon (Heptapod 0.21) even be the case for non-native
Mercurial projects.

Currently (HGitaly 0.9), all special refs creation do fail for native
Mercurial projects, and that is no problem, with a major exception:
Merge Requests refs are created by an actual Git fetch and are really
needed.
parent 81f6bff8
No related branches found
No related tags found
Loading
Checking pipeline status
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment