public static StatusKind GetStatus(string fileName)
        {
            lock (clientLock) {
                if (subversionDisabled)
                {
                    return(StatusKind.None);
                }

                //Console.WriteLine(fileName);

                if (client == null)
                {
                    try {
                        client = new SvnClientWrapper();
                    } catch (Exception ex) {
                        subversionDisabled = true;
                        SharpDevelop.Gui.WorkbenchSingleton.SafeThreadAsyncCall(
                            MessageService.ShowWarning,
                            "Error initializing Subversion library:\n" + ex.ToString()
                            );
                        return(StatusKind.None);
                    }
                }

                try {
                    return(client.SingleStatus(fileName).TextStatus);
                } catch (SvnClientException ex) {
                    LoggingService.Warn(ex);
                    return(StatusKind.None);
                }
            }
        }
        public static StatusKind GetStatus(string fileName)
        {
            lock (clientLock) {
                if (subversionDisabled)
                {
                    return(StatusKind.None);
                }

                //Console.WriteLine(fileName);

                if (client == null)
                {
                    try {
                        client = new SvnClientWrapper();
                    } catch (Exception ex) {
                        subversionDisabled = true;
                        SD.MainThread.InvokeAsyncAndForget(() => MessageService.ShowWarning("Error initializing Subversion library:\n" + ex.ToString()));
                        return(StatusKind.None);
                    }
                }

                try {
                    return(client.SingleStatus(fileName).TextStatus);
                } catch (SvnClientException ex) {
                    LoggingService.Warn(ex);
                    return(StatusKind.None);
                }
            }
        }