Skip to content

List ignored files for Sapling and Bazaar too - #2181

Open
bbatsov wants to merge 2 commits into
masterfrom
feature/vcs-ignored-commands
Open

List ignored files for Sapling and Bazaar too#2181
bbatsov wants to merge 2 commits into
masterfrom
feature/vcs-ignored-commands

Conversation

@bbatsov

@bbatsov bbatsov commented Aug 28, 2026

Copy link
Copy Markdown
Owner

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, since none has an equivalent of hg status -i.

Worth flagging: neither sl nor bzr is 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.

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
bbatsov force-pushed the feature/vcs-ignored-commands branch from f5a8bbf to 0c4cf54 Compare August 29, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant