Getting "warning: ':' is deprecated; use '::' instead"
alex-statsig opened this issue · comments
Alex Coleman commented
I'm trying to get all modified files since main (to run linting only against changed files in your stack). To accomplish this, I'm running sl st --rev "wdir():main"
. The ":" syntax is described in the sl help revisions
docs, and on the sapling website in a number of places (ex. https://sapling-scm.com/docs/commands/diff suggests sl diff --git -r 5be761874:431ec8e07 lib/
).
I noticed recently I get warning: ':' is deprecated; use '::' instead.
when using a revset containing ":". It seems that ":" behaves differently from "::". Is this warning correct?
Jun Wu commented
It sounds like . % main
might be what you want?