tests/test-dirstate-backup.t
author Raphaël Gomès <rgomes@octobus.net>
Fri, 18 Mar 2022 17:39:06 +0100
changeset 48972 6b31c0676147
parent 45827 8d72e29ad1e0
child 49990 ffd19d73518d
permissions -rw-r--r--
rhg: add support for ignoring all extensions Some workflows just want what `rhg` does and don't care about any extensions, this makes it easier. Differential Revision: https://phab.mercurial-scm.org/D12385

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