Author: rhuijben
Date: Fri Apr 29 09:55:06 2011
New Revision: 1097751
URL: http://svn.apache.org/viewvc?rev=1097751&view=rev
Log:
* subversion/libsvn_client/deprecated.c
(info_from_info2): Set the working size to their invalid value when there is
no wc information to restore old behavior.
Modified:
subversion/trunk/subversion/libsvn_client/deprecated.c
Modified: subversion/trunk/subversion/libsvn_client/deprecated.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_client/deprecated.c?rev=1097751&r1=1097750&r2=1097751&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_client/deprecated.c (original)
+++ subversion/trunk/subversion/libsvn_client/deprecated.c Fri Apr 29 09:55:06
2011
@@ -2045,7 +2045,11 @@ info_from_info2(const svn_info2_t *info2
info->working_size = SVN_INFO_SIZE_UNKNOWN;
}
else
- info->has_wc_info = FALSE;
+ {
+ info->has_wc_info = FALSE;
+ info->working_size = SVN_INFO_SIZE_UNKNOWN;
+ info->working_size64 = SVN_INVALID_FILESIZE;
+ }
/* Populate conflict fields. */
if (info2->wc_info && info2->wc_info->conflicts)