diff .hgtags @ 7992:5a092b5f0d98

routing: fix files_annotate_home annotate value to be compatible with Routes >= 2 The routing entry for files_annotate_home had annotate=True. That primarily served to let the controller files.index differentiate files_annotate_home from files_home and files_home_nopath . Anything true can work. test_files.py is creating files_annotate_home URLs in an odd way: Instead of explicitly specifying it is a files_annotate_home URL, it passes expected controller parameters and expects routing to find a URL that would provide these parameters. It thus also has to specify the otherwise "invisible" annotate value. For Routes < 2, True works just fine. For Routes >= 2, it seems to expect values that actually can be encoded in URLs. Thus, instead of True, use '1'.
author Mads Kiilerich <mads@kiilerich.com>
date Mon, 11 Nov 2019 01:56:23 +0100
parents 09c92e6995fd
children 73be06bd1e50
line wrap: on
line diff