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

Re: Update targets that don't exist

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Wed, 17 Apr 2013 09:06:03 -0400

On 04/17/2013 07:34 AM, Bert Huijben wrote:
>> With 1.6 and 1.8 I get:
>>
>> $ svn up wc/some-file-that-does-not-exist
>> At revision 3
>>
>> With 1.7 I get:
>>
>> $ svn up wc/some-file-that-does-not-exist
>> Updating 'wc/some-file-that-does-not-exist':
>> At revision 3
>>
>> Is it valid for these update to be successful? Should we be returning
>> an error if the update target doesn't exist in the intial working copy
>> and doesn't get added by the update?
>
> I'm not sure if we should make it an error, but a warning (=notification)
> would be friendly.

+1. More than once I've mistakenly mis-issued an 'update' command and
wished that Subversion had told me I'd made the mistake.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Received on 2013-04-17 15:06:43 CEST

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