Changing repo URLs may break sync
This issue was created automatically by a script.
Bug 1216671
Bug Reporter: @Osmose CC: @mathjazz
Our code for detecting where the locale repos are on the filesystem does a search within the checkout_path of a project to find likely directories. If a project changes its repo URL, the files will be checked out in a new directory, but the old directory will still exist until the worker dies, meaning we might mis-identify the old folders as they're still on the filesystem.
Our source resource detection is probably vulnerable to a similar issue as well.
Comment Author: @mathjazz
We haven't hit this for a while, lowering priority.
This is not solved by #3312. A project's media/projects/[slug]/ directory should be wiped clean when a repo URL is changed.