May 25, 2018 updates: Privacy Policy
  • R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision28215 (tree)
Time2018-05-12 16:47:27
Authorstefankueng

Log Message

Clear the error message if subsequent update checks succeed.

Change Summary

Incremental Difference

--- trunk/src/TortoiseProc/LogDialog/LogDlg.cpp (revision 28214)
+++ trunk/src/TortoiseProc/LogDialog/LogDlg.cpp (revision 28215)
@@ -8715,6 +8715,7 @@
87158715 item.lastHEAD = head;
87168716 item.root = sRoot;
87178717 item.uuid = sUUID;
8718+ item.lastErrorMsg.Empty();
87188719 }
87198720 else
87208721 {
@@ -8730,6 +8731,8 @@
87308731 }
87318732 item.lastErrorMsg = svn.GetLastErrorMessage();
87328733 }
8734+ else
8735+ item.lastErrorMsg.Empty();
87338736 }
87348737 // we should never get asked for authentication here!
87358738 item.authfailed = item.authfailed || PromptShown();
@@ -8741,8 +8744,8 @@
87418744 {
87428745 if ((SVN_ERROR_IN_CATEGORY(SVNError->apr_err, SVN_ERR_AUTHN_CATEGORY_START)) ||
87438746 (SVN_ERROR_IN_CATEGORY(SVNError->apr_err, SVN_ERR_AUTHZ_CATEGORY_START)) ||
8744- (SVNError->apr_err == SVN_ERR_RA_DAV_FORBIDDEN)||
8745- (SVNError->apr_err == SVN_ERR_RA_CANNOT_CREATE_SESSION)||
8747+ (SVNError->apr_err == SVN_ERR_RA_DAV_FORBIDDEN) ||
8748+ (SVNError->apr_err == SVN_ERR_RA_CANNOT_CREATE_SESSION) ||
87468749 (SVNError->apr_err == SVN_ERR_WC_NOT_WORKING_COPY))
87478750 {
87488751 item.authfailed = true;
@@ -8749,6 +8752,8 @@
87498752 }
87508753 item.lastErrorMsg = svn.GetLastErrorMessage();
87518754 }
8755+ else
8756+ item.lastErrorMsg.Empty();
87528757 }
87538758 item.lastchecked = currenttime;
87548759 {
Show on old repository browser