view tests/test-purge-ignored-directory.t @ 51524:4bfae99c4021

filteredhash: move the hashing in its own function This will help us to reuse this logic in variants of the hashes used for branch cache validation.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 05 Mar 2024 15:21:18 +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