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
$ jj bookmark create foo:bar
Warning: Failed to export some bookmarks:
foo:bar: Failed to set: A reference must be a valid tag name as well: A ref must not
contain invalid bytes or ascii control characters: ":"
At this point, the bookmark is still created, despite the error:
This should help prevent misuse of "jj bookmark set" with e.g. remote bookmark
name. A remote-looking bookmark can be created by quoting the name if needed.
This patch doesn't change the parsing of name patterns. For patterns, I think
it's better to add support for compound expressions (e.g. `glob:foo* & ~bar`)
rather than adding revset::parse_string_pattern(text) -> StringPattern.
Closesjj-vcs#5705
yuja
linked a pull request
Feb 17, 2025
that will
close
this issue
Using 514a009
Repro:
At this point, the bookmark is still created, despite the error:
If I try to reference that bookmark, it does not work:
If I try to delete the bookmark:
If I use
exact:foo:bar
, it does work.The text was updated successfully, but these errors were encountered: