Files @ e8565d50d064
Branch filter:

Location: kallithea/docs/dev/translation.rst - annotation

e8565d50d064 61 B text/prs.fallenstein.rst Show Source Show as Raw Download as Raw
Søren Løvborg
compare: ensure that repositories exist before proceeding

The index method on CompareController did not verify that other_repo
existed, causing a rendering error if it wasn't.

Since neither controller method can proceed if either repository is
non-existent, check existence and load Repository objects in __before__.
Also perform type compatibility check up front while we're at it, remove
redundant repository database lookups, and enable error message i18n.
.. _translations:
.. include:: ./../../kallithea/i18n/how_to