view tests/test-purge-ignored-directory.t @ 49782:cafe34655335 stable

hghave: detect Python 3.10 and 3.11 as well Noticed because test-contrib-relnotes.t was skipped.
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 11 Dec 2022 16:44:50 +0400
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