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

Re: svn commit: r40493 - in trunk/subversion: libsvn_fs_base libsvn_fs_fs libsvn_ra_neon libsvn_ra_serf tests/cmdline

From: Paul Burba <ptburba_at_gmail.com>
Date: Fri, 13 Nov 2009 10:05:49 -0500

On Fri, Nov 13, 2009 at 9:52 AM, Philip Martin <philip_at_codematters.co.uk> wrote:
> "Paul T. Burba" <pburba_at_collab.net> writes:
>
>> Author: pburba
>> Date: Thu Nov 12 18:37:57 2009
>> New Revision: 40493
>
>> Modified: trunk/subversion/libsvn_ra_neon/lock.c
>> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_ra_neon/lock.c?pathrev=40493&r1=40492&r2=40493
>> ==============================================================================
>> --- trunk/subversion/libsvn_ra_neon/lock.c    Thu Nov 12 15:37:51 2009        (r40492)
>> +++ trunk/subversion/libsvn_ra_neon/lock.c    Thu Nov 12 18:37:57 2009        (r40493)
>> @@ -307,6 +307,16 @@ do_lock(svn_lock_t **lock,
>>
>>   cleanup:
>>    svn_ra_neon__request_destroy(req);
>> +
>> +  /* 405 == Method Not Allowed (Occurs when trying to lock a working
>> +     copy path which no longer exists at HEAD in the repository. */
>> +  if (code == 405)
>> +    {
>> +      svn_error_clear(err);
>> +      err = svn_error_createf(SVN_ERR_FS_OUT_OF_DATE, NULL,
>> +                              _("Lock request failed: %d %s"),
>> +                              code, req->code_desc, NULL);
>> +    }
>
> ../src/subversion/libsvn_ra_neon/lock.c:318:31: warning: too many arguments for format

Thanks Philip (I have VS2008's build verbosity set to max and it still
doesn't catch that).

Fixed r40497.

Paul

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2417578
Received on 2009-11-13 16:06:07 CET

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.