tests/test-dirstate-backup.t
author Augie Fackler <augie@google.com>
Mon, 20 Nov 2017 18:00:02 -0500
changeset 35126 7ea56f5700b8
parent 34940 c2b30348930f
child 45846 8d72e29ad1e0
permissions -rw-r--r--
setup: add hgext.lfs to list of Python packages This is needed for lfs to get installed. Probably could stand to go into an earlier patch, but I just want to get this stuff pushed.

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