Fix showing the base directory on the New Review Request page.
Review Request #11470 — Created Feb. 16, 2021 and submitted
A typo in a context variable name led to a regression with uploading
diffs in the New Review Request page that required a base directory. The
correct variable name was
requiresBasedir. but it was typoed to
This change fixes the typo, and adds unit tests to ensure this and other
context variables won't regress in the future.
Unit tests pass.
Verified the field was present for Subversion repositories.