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.
Loading
Please register or sign in to comment