tests/test-dirstate-backup.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 21 Jan 2022 02:07:13 +0100
changeset 48630 f87b632406a9
parent 45846 8d72e29ad1e0
child 50046 ffd19d73518d
permissions -rw-r--r--
test-http-bad-server: align output by using `;` This is the only message using a `,` instead of `;` and that seems unintentional. I am unifying the message before unigying the code. Differential Revision: https://phab.mercurial-scm.org/D12039

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