view tests/test-dirstate-backup.t @ 40295:3a86f7eb8b78

extensions: trace the total time of running all extsetup callbacks Differential Revision: https://phab.mercurial-scm.org/D4511
author Boris Feld <boris.feld@octobus.net>
date Thu, 06 Sep 2018 16:21:42 -0400
parents c2b30348930f
children
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
  [255]

No dirstate backups are left behind

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