HomePhabricator

test-grep: add tests for --follow with/without --diff and/or paths

Authored by yuja.

Description

test-grep: add tests for --follow with/without --diff and/or paths

This tests the behavior of cmdutil.walkchangerevs().

I'm going to rewrite cmdutil.walkchangerevs() to leverage the "log -f"
logic, but the code coverage looked quite small. And the history traversal
of "grep -f" goes wrong in various ways.

Details

Committed
yujaSep 10 2020, 11:39 PM
Parents
rHG453bc6ca9ab2: grep: clarify that --all works exactly the same way as --diff
Branches
Unknown
Tags
Unknown