Files
@ e8565d50d064
Branch filter:
Location: kallithea/docs/readme.rst - annotation
e8565d50d064
42 B
text/prs.fallenstein.rst
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.
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.