Skip to content
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

"Unexpected error from store" after jj git fetch #5920

Open
avamsi opened this issue Mar 7, 2025 · 1 comment
Open

"Unexpected error from store" after jj git fetch #5920

avamsi opened this issue Mar 7, 2025 · 1 comment

Comments

@avamsi
Copy link
Member

avamsi commented Mar 7, 2025

Just ran into this on jj 0.27.0 -- I'm pretty sure this is one of the 2 commits in my archived revset:

jj log -r archived
Error: Unexpected error from store
Caused by:
1: Object 373f0251a5ed2ca55a087ccf7ba243073850d60f of type commit not found
2: An object with id 373f0251a5ed2ca55a087ccf7ba243073850d60f could not be found

I'd prefer not nuking the repo, but I don't mind abandoning this commit (or even both the commits in the revset) -- I can't seem to be able to get jj to do that though :) (not even jj log -r archived -T change_id works).

@yuja
Copy link
Contributor

yuja commented Mar 8, 2025

Maybe you can abandon old operations that contain the missing commit object. jj debug reindex might print the first bad operation, but I don't remember. (Make sure to back up the .jj directory.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants