List ignored files for Sapling and Bazaar too - #2181
Open
bbatsov wants to merge 2 commits into
Open
Conversation
Projectile knows how to list the files of nine VCSes but could only ask three of them for their ignored files, so under hybrid indexing a Sapling or Bazaar project fell back to filtering in Emacs Lisp. Both recipes are a one-flag change from that VCS's existing Projectile command: Sapling is a Mercurial fork that kept the `status' flags, and `bzr ls' takes `--ignored' where the file listing passes `--versioned'. jj, fossil, darcs and pijul still return nil - none of them has an equivalent of `hg status -i'.
bbatsov
force-pushed
the
feature/vcs-ignored-commands
branch
from
August 29, 2026 08:47
f5a8bbf to
0c4cf54
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Projectile knows how to list the files of nine VCSes but could only ask three of them for their ignored files, so under hybrid indexing a Sapling or Bazaar project fell back to filtering in Emacs Lisp.
Both recipes are a one-flag change from that VCS's existing Projectile command: Sapling is a Mercurial fork that kept the
statusflags, andbzr lstakes--ignoredwhere the file listing passes--versioned. jj, fossil, darcs and pijul still return nil, since none has an equivalent ofhg status -i.Worth flagging: neither
slnorbzris installed here or in CI, so the recipes are reasoned from each VCS's existing Projectile command rather than exercised. The dispatch is covered by specs; the command strings themselves aren't.