HomePhabricator

tests: check that 'log --line-range' follows uncommitted changes

Authored by dlax.

Description

tests: check that 'log --line-range' follows uncommitted changes

The reason we start walking revisions from the working directory (None
revision) in logcmdutil.getlinerangerevs() is because we can follow
uncommitted changes. Adding a test to illustrate this based on an
uncommitted rename as there was none before. This helps understand the
fix in next changeset.

Details

Committed
dlaxNov 29 2019, 3:34 PM
Parents
rHG558f7585afcb: test: don't put $BINDIR in $PATH for test-merge-tools.t
Branches
Unknown
Tags
Unknown