-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Handle Mercurial.UnrelatedRepositoryErrorException automatically by discarding LF repo and re-cloning #183
Comments
Stacktrace is busted, but it was easy to find the line in Bridge that caused the error (line 94 in LanguageForgeSendReceiveActionHandler on develop). As for the actual error, it seems somewhat self-explanatory and comes from here, starting around line 321 in master. |
So Chris explained this for me. The LF cache has become invalidated (likely due to operations on the Language Depot side), and we need to clear the cache and pull things fresh. |
Yes. More specifically, the Language Depo repo has been "reset" by tech
support i.e. folder deleted and new repo created in its place, followed by
a FLEx "push" to repopulate the repo. Whenever we get an "unrelated repo"
exception in LFMerge, we should simply delete our repo copy and then clone
a fresh one from LD, then carry on the original operation.
|
An unrelated repository exception can occur when the corresponding Language Depot repo is replaced with a new one by a Flex support person. This is usually done to reduce the size of a repo (drop old revisions) or to restore the project to a previously known good state.
When LFMerge encounters a UnrelatedRepositoryErrorException in the process of syncing it should:
Some unknowns that we need to test:
Original stacktrace:
I am trying to think how this Exception could occur. More investigation is needed to understand how this error can occur in LF.
The text was updated successfully, but these errors were encountered: