HomePhabricator

tests: add a test demonstrate that 'revert -i' ignores nonexistent patterns

Authored by dlax.

Description

tests: add a test demonstrate that 'revert -i' ignores nonexistent patterns

As described in issue5789, when revert is called through:

hg revert -i <some file that does not exist>

we'd expect the command to abort early. Currently, it just warns about
missing file but prompt about files unrelated to user arguments.

Details

Committed
dlaxFeb 11 2018, 2:37 PM
Parents
rHGeb91ffdaaece: py3: slice over bytes to prevent getting ascii values
Branches
Unknown
Tags
Unknown