-
Notifications
You must be signed in to change notification settings - Fork 666
Closed
Labels
good first issueGood for newcomersGood for newcomers🐛bugSomething isn't workingSomething isn't working
Description
Description
Attempting to use a repository that uses a unicode primary bookmark name fails. Commenting out the trunk()
alias in the local config avoids the issue, and afaict all commands work correctly with the bookmark name (except where they need to know the head is immutable or primary).
Steps to Reproduce the Problem
> jj git clone https://github.com/Nemo157/ennead
Fetching into new repo in "/tmp/scratch.2025-01-14T14-08.do3GxX/ennead"
bookmark: κεφάλαιος@origin [new] untracked
Setting the revset alias "trunk()" to "κεφάλαιος@origin"
Working copy now at: rowmrups e527c90d (empty) (no description set)
Parent commit : zsqrywow cf4d6273 κεφάλαιος | fix dithering functions for non-target size images
Added 23 files, modified 0 files, removed 0 files
> cd ennead
> jj log
Config error: Invalid `revset-aliases.immutable_heads()`
Caused by:
1: --> 1:1
|
1 | builtin_immutable_heads()
| ^-----------------------^
|
= In alias "builtin_immutable_heads()"
2: --> 1:9
|
1 | present(trunk()) | tags() | untracked_remote_bookmarks()
| ^-----^
|
= In alias "trunk()"
3: --> 1:1
|
1 | κεφάλαιος@origin
| ^---
|
= expected <identifier> or <expression>
For help, see https://martinvonz.github.io/jj/latest/config/.
> cat .jj/repo/config.toml
[revset-aliases]
"trunk()" = "κεφάλαιος@origin"
Specifications
- Platform: linux
- Version: jj 0.24.0-70e796a6b622dfdf135c353e6765b2066bb6cc62 (running from a somewhat recent version of SSH: Use OpenSSH instead of
libssh2
for authentication with Git hosts #3191)
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers🐛bugSomething isn't workingSomething isn't working