tests/test-purge-ignored-directory.t
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 13 Dec 2022 16:29:30 +0100
changeset 50089 7e71d878c708
parent 49400 7e5377bdb66e
permissions -rw-r--r--
dirstate: use `dirstate.change_files` to scope the change in `remove` This is the way.

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