This error has the following solution:
Close some applications and try again.
If that doesn't help, reinstall the source code control provider.