Mercurial > hg
view tests/test-purge-ignored-directory.t @ 51715:7601978f9e9f
typing: add type hints to `cmdutil.findrepo()`
Since 10db46e128d4, pytype almost figured this out, going from `Any` -> `_T0`,
but the intent is obvious.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 18 Jul 2024 19:55:51 -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