view tests/test-purge-ignored-directory.t @ 51435:ad1066534237

chainsaw-update: exit early if one of the intermediate command fails That will prevent the user to be presented with a start that pretend to be consistent with the request, but is not.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 23 Feb 2024 06:25:09 +0100
parents 7e5377bdb66e
children
line wrap: on
line source

skip ignored directories if -i or --all not specified

  $ hg init t
  $ cd t
  $ echo 'ignored' > .hgignore
  $ hg ci -qA -m init -d'2 0'
  $ mkdir ignored
  $ ls
  ignored
  $ hg purge -v --no-confirm
  $ ls
  ignored