HomePhabricator

rhg: Initial support for the 'status' command

Authored by gracinet.

Description

rhg: Initial support for the 'status' command

Only comparing the working directory with its first parent revision
is supported. The core logic of dirstate handling and stat’ing files
was already in hg-core supporting Python-based hg with Rust extensions,
so this is mostly plumbing to rhg’s CLI.

For now the command is experimental and disabled by default,
since it has some bugs that causes a number of tests to fail.
These failures can be seen with:

tests/run-tests.py --rhg --extra-config-opt rhg.status=true

Differential Revision: https://phab.mercurial-scm.org/D10239

Details

Committed
gracinetMar 16 2021, 10:12 AM
Differential Revision
D10239: rhg: Initial support for the 'status' command
Parents
rHGe8ae91b1a63d: rhg: raise wdir specific error for `hg debugdata`
Branches
Unknown
Tags
Unknown