I think this is outdated or typo <https://github.c...
# development
r
I think this is outdated or typo https://github.com/pantsbuild/pants/blob/main/pants.toml#L88
Copy code
[cli.alias]
all-changed = "--changed-since=HEAD --changed-dependents=transitive"
h
Why? Seems OK to me?
r
I tried running it locally and I get error
Copy code
./pants all-changed lint
17:35:54.88 [INFO] Initializing scheduler...
17:35:55.28 [INFO] Scheduler initialized.
Unknown flag --dependents on changed scope
Did you mean --dependees?
Use `./pants help changed` to get help.
17:35:55.46 [ERROR] Unknown flags --dependents on scope change
Sorry nevermind, I was running it inside my private repo not pants itself. Is it not supposed to work outside of pants repo?
I don’t see
--changed-dependents
as an option, only
--changed-dependees
h
That was renamed in 2.16.x, so it won't work prior to that version
👍 1
See #17395
It turned out that "dependees" means the opposite of what we were using it for...