Is your feature request related to a problem? Please describe.
Prior to jj, I would sometimes use git filter-repo or BFG Repo Cleaner to remove large files/blobs or particular unwanted files that snuck into the git history. (heres some equivalent commands for both: https://github.com/newren/git-filter-repo/blob/main/Documentation/converting-from-bfg-repo-cleaner.md#cheat-sheet-conversion-of-examples-from-bfg)
When I use this, it often results in the colocated jj repo breaking. The only solution seems to be to init a new jj repo, but that then loses all of the jj oplog, evolog megamerges etc...
Describe the solution you'd like
I'd like for there to be some sort of command, or at least documentation, for safely using filter-repo/bfg
Describe alternatives you've considered
It was suggested to try jj debug reindex but I didnt succeed with that.
Additional context
It is entirely probable that there's user error - I don't know nearly enough about the internals of git and jj repos to really be able to use these things confidently, let alone repair issues.
Is your feature request related to a problem? Please describe.
Prior to jj, I would sometimes use
git filter-repoor BFG Repo Cleaner to remove large files/blobs or particular unwanted files that snuck into the git history. (heres some equivalent commands for both: https://github.com/newren/git-filter-repo/blob/main/Documentation/converting-from-bfg-repo-cleaner.md#cheat-sheet-conversion-of-examples-from-bfg)When I use this, it often results in the colocated jj repo breaking. The only solution seems to be to init a new jj repo, but that then loses all of the jj oplog, evolog megamerges etc...
Describe the solution you'd like
I'd like for there to be some sort of command, or at least documentation, for safely using filter-repo/bfg
Describe alternatives you've considered
It was suggested to try
jj debug reindexbut I didnt succeed with that.Additional context
It is entirely probable that there's user error - I don't know nearly enough about the internals of git and jj repos to really be able to use these things confidently, let alone repair issues.