Mercurial > hg
view tests/test-dirstate-backup.t @ 46725:df247f58ecee
rhg: Fall back to Python for unsupported revset syntax
rhg only supports a small subset of the syntax.
On parse error, this gives Python a chance instead of aborting immediately.
Differential Revision: https://phab.mercurial-scm.org/D10097
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Tue, 02 Mar 2021 23:18:23 +0100 |
parents | 8d72e29ad1e0 |
children | ffd19d73518d |
line wrap: on
line source
Set up $ hg init repo $ cd repo Try to import an empty patch $ hg import --no-commit - <<EOF > EOF applying patch from stdin abort: stdin: no diffs found [10] No dirstate backups are left behind $ ls .hg/dirstate* | sort .hg/dirstate