tests/test-purge-ignored-directory.t
author Martin von Zweigbergk <martinvonz@google.com>
Tue, 03 Jan 2023 13:38:56 -0800
branchstable
changeset 49837 59466b13a3ae
parent 49421 7e5377bdb66e
permissions -rw-r--r--
filemerge: fix crash when using filesets in [partial-merge-tools] Without this patch, you'd get `mercurial.error.ProgrammingError: fileset expression with no context`.

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