jj config prevent editing rev already pushed #4

Closed
opened 2025-04-02 10:10:05 +00:00 by thermokarst · 1 comment
Owner

i’ve noticed some inconsistencies regarding immutable revisions, sometimes a push will generate a new empty commit, other times it won’t. i want it to always make an empty one post push. perhaps there is a global config i can enable here.

i’ve noticed some inconsistencies regarding immutable revisions, sometimes a push will generate a new empty commit, other times it won’t. i want it to always make an empty one post push. perhaps there is a global config i can enable here.
Author
Owner

also learned that jj treats origin and upstream specially - when those aren't present, trunk() resolves to root()! to override on a per-repo basis:

# .jj/repo/config.toml
[revset-aliases]
'trunk()' = 'main@pingo'
also learned that jj treats `origin` and `upstream` specially - when those aren't present, `trunk()` resolves to `root()`! to override on a per-repo basis: ```toml # .jj/repo/config.toml [revset-aliases] 'trunk()' = 'main@pingo' ```
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: thermokarst/dotfiles#4
No description provided.