tests/test-dirstate-backup.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Wed, 11 Oct 2023 00:04:23 +0200
changeset 51060 fa7d307e2150
parent 50046 ffd19d73518d
permissions -rw-r--r--
revlog: remove legacy usage of `_candidate_group_chunk_size` All core code is now getting the setting from the DeltaConfig object.

Set up

  $ hg init repo
  $ cd repo
  $ echo a > a
  $ hg add a
  $ hg commit -m a

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