-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make change ids in tests repeatable #964
Conversation
c792f5a
to
ec778c4
Compare
c97e704
to
6b45d6f
Compare
The timestamp couldn't be set with `--config-toml 'user.timestamp=...'`.
It makes more sense for this function to change `self`.
1616859
to
2571f82
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good as far as I'm concerned, so just see how @yuja feels about the remaining unresolved comments.
@yuja, are you OK with the current state of this? There's no rush, I'm just checking if you're waiting on me or I'm waiting on you. |
2571f82
to
ad9b344
Compare
Can you remove scary comment about Other than that, this PR looks good. |
Some hijinx are utilized to make it possible to generate random values using an immutable `&UserSettings` reference.
Moves all the config that depends on the command number next to each other.
In the following commit, we replace it everywhere else.
This will be needed to test functionality for showing shortest unique prefix for commit and change ids. As a bonus, this also allows us to test log output with change ids. As another bonus, this will prevent occasional CI failures like https://github.com/martinvonz/jj/actions/runs/3817554687/jobs/6493881468.
ad9b344
to
f20050e
Compare
This will be needed to test functionality for showing shortest
unique prefix for commit and change ids. As a bonus, this also
allows us to test log output with change ids.
As another bonus, this will prevent occasional CI failures like
https://github.com/martinvonz/jj/actions/runs/3817554687/jobs/6493881468.
Checklist
If applicable: