tests/test-purge-ignored-directory.t
author Georges Racinet on incendie.racinet.fr <georges@racinet.fr>
Sun, 29 Oct 2023 12:01:57 +0100
changeset 51244 03fdd4d7b5bd
parent 49423 7e5377bdb66e
permissions -rw-r--r--
rust-python-testing: separated base test classes This will allow, e.g., to change `test-rust-discovery.py` simply by adding the appropriate base class.

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