tests/test-dirstate-backup.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Sat, 03 Dec 2022 00:13:50 +0100
changeset 49864 611ccb631cbc
parent 45846 8d72e29ad1e0
child 50046 ffd19d73518d
permissions -rw-r--r--
peer: add a `path` attribute to peer It will start being set in the coming changesets.

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