private void DoHandle(SvnWorkingCopyLockException ex, ExceptionInfo info) { if (ex.SvnErrorCode != SvnErrorCode.SVN_ERR_WC_NOT_LOCKED) { MessageBox.Show(Owner, "Your working copy appears to be locked. " + Environment.NewLine + "Run Cleanup to amend the situation.", "Working copy locked", MessageBoxButtons.OK, MessageBoxIcon.Warning); } else { MessageBox.Show(Owner, "The working copy lock appears to be broken.", "Working copy not locked", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
private void DoHandle(SvnWorkingCopyLockException ex, ExceptionInfo info) { if (ex.SvnErrorCode != SvnErrorCode.SVN_ERR_WC_NOT_LOCKED) { MessageBox.Show(Owner, "Your working copy appears to be locked. " + Environment.NewLine + "Run Cleanup to amend the situation.", "Working copy locked", MessageBoxButtons.OK, MessageBoxIcon.Warning); } else { MessageBox.Show(Owner, "The working copy lock appears to be broken.", "Working copy not locked", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }