You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# should be treated like any other valid char for a branch name. In this case, I would expect stack\(mr/1229#crc\) to expand into all of the commits in the stack containing branch mr/1229#crc
Actual behavior
❯ git hide -D stack\(mr/1229#crc\)
Parse error for expression 'stack(mr/1229#crc)': parse error: Invalid token at 13
Version of rustc
rustc 1.61.0 (fe5b13d68 2022-05-18)
Automated bug report
n/a
Version of git-branchless
git-branchless 0.4.0
Version of git
git version 2.32.0
The text was updated successfully, but these errors were encountered:
As a workaround, can you add an extra layer of quotes, like 'stack("mr#123")'?
Thanks, that's what I needed. This also helps w/ another case I just ran into while trying to use the (admittedly not fair to the parser) :/pattern git revision format. This doesn't work: descendants(:/^(?!fix)) but this works perfectly descendants(":/^(?!fix)").
Description of the bug
#
is a valid char for branch names, but it doesn't seem to play well with revsets:Expected behavior
#
should be treated like any other valid char for a branch name. In this case, I would expectstack\(mr/1229#crc\)
to expand into all of the commits in the stack containing branchmr/1229#crc
Actual behavior
Version of
rustc
rustc 1.61.0 (fe5b13d68 2022-05-18)
Automated bug report
n/a
Version of
git-branchless
git-branchless 0.4.0
Version of
git
git version 2.32.0
The text was updated successfully, but these errors were encountered: