Mercurial > hg
view tests/test-dirstate-backup.t @ 38217:16f93a3b8b05
grep: enable passing wdir as a revision
When you pass wdir() to the -r flag, it catches the WdirUnsupported error
and falls back to an alternate path.
Differential Revision: https://phab.mercurial-scm.org/D3673
author | Sangeet Kumar Mishra <mail2sangeetmishra@gmail.com> |
---|---|
date | Wed, 30 May 2018 17:37:17 +0530 |
parents | c2b30348930f |
children | 8d72e29ad1e0 |
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 [255] No dirstate backups are left behind $ ls .hg/dirstate* | sort .hg/dirstate