Mercurial > kallithea
view .coveragerc @ 7144:bfb1ae42bcbb
vcs: fix get_changesets filtering on hg repo to AND the criteria instead of OR
Mercurial scmutil.revrange takes a list of filters ... and OR them.
But when for example a user uses the api and sets branch name and date, he would
expect to only get revisions from the provided branch.
So we need to use AND when filtering.
When using AND, the special handling of start_date and end_date is no longer necessary.
Also add a test to check for this use case.
author | domruf <dominikruf@gmail.com> |
---|---|
date | Sat, 20 Jan 2018 02:24:38 +0100 |
parents | 0acb46763886 |
children | ddee465a345a |
line wrap: on
line source
[run] omit = # the bin scripts are not part of the Kallithea web app kallithea/bin/* # we ship with no active extensions kallithea/config/rcextensions/* # dbmigrate and paster_commands are not part of the Kallithea web app kallithea/lib/dbmigrate/* kallithea/lib/paster_commands/* # the tests themselves should not be part of the coverage report kallithea/tests/* # the scm hooks are not run in the kallithea process kallithea/config/post_receive_tmpl.py kallithea/config/pre_receive_tmpl.py [paths] source = kallithea/ **/workspace/*/kallithea