tests/test-dirstate-backup.t
author pacien <pacien.trangirard@pacien.net>
Fri, 10 Dec 2021 15:27:22 +0100
changeset 48555 8e8737a1fa7d
parent 45846 8d72e29ad1e0
child 50046 ffd19d73518d
permissions -rw-r--r--
hg-cpython: implement vcsgraph::Graph for our Index Differential Revision: https://phab.mercurial-scm.org/D11946

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