tests/test-gendoc-fr.t
author Gregory Szorc <gregory.szorc@gmail.com>
Fri, 19 May 2017 20:10:50 -0700
changeset 32392 36d3559c69a6
parent 28809 7a1ad08b9ff5
permissions -rw-r--r--
revlog: tweak wording and logic for flags validation First, the logic around the if..elif..elif was subtly wrong and sub-optimal because all branches would be tested as long as the revlog was valid. This patch changes things so it behaves like a switch statement over the revlog version. While I was here, I also tweaked error strings to make them consistent and to read better.

#require docutils gettext

  $ $TESTDIR/check-gendoc fr
  checking for parse errors