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

Re: [RFC] Issue 2269 - svn st|up Do Not Warn When Ran Against a Nonexistent Path

From: David O'Shea <david.oshea_at_s3group.com>
Date: Wed, 27 Aug 2008 11:07:26 +0100

Hi,

On 27/08/2008 03:35, Jeremy Whitlock wrote:
> The reason I didn't submit it for review was that for some reason, I
> was worried about the following two scenarios:
>
> 1) svn st -u NONEXISTENT_PATH (Where the path doesn't exist in the WC
> but does exist in the repository.)
> 2) svn up NONEXISTENT_PATH (Where the path doesn't exist in the WC but
> does exist in the repository.)
>
> The more I think about this now, I think both of these should be
> handled like any other non-existent path, just like svn rm which
> outputs an error:
>
> svn: 'NONEXISTENT_PATH' does not exist

For (2), consider the following case however:

# svn co -N $REPOS/trunk/foo

where foo contains a few files and some directories.
If you subsequently want to pull down a subdirectory, bar, the following
currently works:

# svn up bar

In this case bar exists in the repository but not in the WC.
Maybe this use case is not so important any more, but I used this often
with a 1.4 client to simulate a simple sparse WC.

Regards,

David.

-- 
The information contained in this e-mail and in any attachments is confidential and is designated solely for the attention of the intended recipient(s). If you are not an intended recipient, you must not use, disclose, copy, distribute or retain this e-mail or any part thereof. If you have received this e-mail in error, please notify the sender by return e-mail and delete all copies of this e-mail from your computer system(s).
Please direct any additional queries to: communications_at_s3group.com.
Thank You.
Silicon and Software Systems Limited. Registered in Ireland no. 378073.
Registered Office: South County Business Park, Leopardstown, Dublin 18
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-27 12:07:47 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.