tests/test-purge-ignored-directory.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 12 Oct 2023 09:04:12 +0200
changeset 51074 a63e1f7987a7
parent 49400 7e5377bdb66e
permissions -rw-r--r--
dirstate: document the `changing_*` context manager The methods that requires them have documentation, but the context themselves had none. This is now fixed.

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