view tests/test-purge-ignored-directory.t @ 50485:5805b8b25426

store: use StoreEntry API instead of parsing filename in remotefilelog This is more explicit and more robust.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Mon, 15 May 2023 09:00:13 +0200
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