view tests/test-dirstate-backup.t @ 49545:3556f0392808 stable

lfs: avoid closing connections when the worker doesn't fork Probably not much more than an minor optimization, but could be useful in the case of `hg verify` where missing blobs are fetched one at a time.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 18 Oct 2022 13:56:45 -0400
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