On Fri, Jun 17, 2011 at 13:23,  <cmpil...@apache.org> wrote:
>...
> +++ subversion/trunk/subversion/include/svn_client.h Fri Jun 17 17:23:59 2011
> @@ -2082,6 +2082,10 @@ typedef struct svn_client_status_t
>   /** The absolute path to the node */
>   const char *local_abspath;
>
> +  /** The actual size of the working file on disk, or -1 if unknown
> +   * (or if the item isn't a file at all). */

That should be SVN_INVALID_FILESIZE.

>...
> +++ subversion/trunk/subversion/include/svn_wc.h Fri Jun 17 17:23:59 2011
> @@ -3495,6 +3495,10 @@ typedef struct svn_wc_status3_t
>    * (#svn_depth_unknown for files or when no depth is set) */
>   svn_depth_t depth;
>
> +  /** The actual size of the working file on disk, or -1 if unknown
> +   * (or if the item isn't a file at all). */

Likewise.

>...
> +++ subversion/trunk/subversion/libsvn_wc/status.c Fri Jun 17 17:23:59 2011
> @@ -393,6 +393,8 @@ assemble_status(svn_wc_status3_t **statu
>   svn_error_t *err;
>   const char *repos_relpath;
>   const char *repos_root_url;
> +  svn_filesize_t filesize =
> +    (dirent && (dirent->kind == svn_node_file)) ? dirent->filesize : -1;

And here.

>...
> @@ -729,6 +732,7 @@ assemble_unversioned(svn_wc_status3_t **
>   /*stat->versioned = FALSE;*/
>   stat->kind = svn_node_unknown; /* not versioned */
>   stat->depth = svn_depth_unknown;
> +  stat->filesize = -1;
>   stat->node_status = svn_wc_status_none;
>   stat->text_status = svn_wc_status_none;
>   stat->prop_status = svn_wc_status_none;

And here.

Cheers,
-g

Reply via email to