tests/test-dirstate-backup.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 01 Jun 2022 03:12:23 +0200
changeset 49268 7b0cf4517d82
parent 45827 8d72e29ad1e0
child 49990 ffd19d73518d
permissions -rw-r--r--
mr-template: drop the "title and description" I though I would affect the template in the menu itself, however it just a normal piece of text that should not be here.

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