tests/test-dirstate-backup.t
author Pulkit Goyal <7895pulkit@gmail.com>
Thu, 14 Jan 2021 17:27:54 +0530
changeset 46450 8b02f132adf6
parent 45846 8d72e29ad1e0
child 50046 ffd19d73518d
permissions -rw-r--r--
test: unquiet few tests to demonstrate changes in upcoming patches Upcoming patches will skip revlog cloning for share-safe upgrades. Differential Revision: https://phab.mercurial-scm.org/D9773

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