view tests/test-purge-ignored-directory.t @ 51532:a0ef462cf1a4

branchcache: filter obsolete revisions sooner Since we won't do anything with the obsolete revisions, we can just ignore them sooner.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 06 Mar 2024 15:54:22 +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