[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn info fails

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 05 Apr 2011 19:07:12 +0100

Philip Martin <philip.martin_at_wandisco.com> writes:

> Stefan K√ľng <tortoisesvn_at_gmail.com> writes:
>
>> Just discovered that 'svn info' fails with a very unhelpful error message:
>>
>> svn.exe info http://svn.webdav.org/repos/projects/neon@1832 -r1833
>> svn: E200004: Could not convert '' into a number
>
> Not with neon, serf only:
>
> ../src/subversion/svn/info-cmd.c:581: (apr_err=200004)
> ../src/subversion/libsvn_client/info.c:609: (apr_err=200004)
> ../src/subversion/libsvn_ra_serf/serf.c:852: (apr_err=200004)
> ../src/subversion/libsvn_ra_serf/property.c:732: (apr_err=200004)
> ../src/subversion/libsvn_ra_serf/serf.c:679: (apr_err=200004)
> ../src/subversion/libsvn_subr/svn_string.c:775: (apr_err=200004)
> ../src/subversion/libsvn_subr/svn_string.c:775: (apr_err=200004)
> ../src/subversion/libsvn_subr/svn_string.c:775: (apr_err=200004)
> svn: E200004: Could not convert '' into a number

The relevant code is:

      if(strcmp(name, "deadprop-count") == 0)
        {
          apr_int64_t deadprop_count;
          SVN_ERR(svn_cstring_atoi64(&deadprop_count, val->data));
          entry->has_props = deadprop_count > 0;
        }

-- 
Philip
Received on 2011-04-05 20:07:46 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.