tests/test-dirstate-backup.t
author Pulkit Goyal <7895pulkit@gmail.com>
Thu, 09 Jul 2020 17:05:41 +0530
changeset 45163 f69253935bf8
parent 34940 c2b30348930f
child 45846 8d72e29ad1e0
permissions -rw-r--r--
mergestate: document mergestate records in an organized way This makes clear which mergestate record is used for what and group them based on how they are used right now. Differential Revision: https://phab.mercurial-scm.org/D8719

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
  [255]

No dirstate backups are left behind

  $ ls .hg/dirstate* | sort
  .hg/dirstate