Mercurial > kallithea
diff docs/contributing.rst @ 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 | 1969f7dfb6b0 |
children | 451b3f9d814e |