view tests/test-dirstate-backup.t @ 46340:7e44d5ca2a2f stable

Added signature for changeset 9da65e3cf370
author Pulkit Goyal <7895pulkit@gmail.com>
date Tue, 19 Jan 2021 22:37:35 +0530
parents 8d72e29ad1e0
children ffd19d73518d
line wrap: on
line source

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