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

Re: Subversion checkout behavior at non-existent revision

From: Stefan <luke1410_at_posteo.de>
Date: Tue, 10 May 2016 00:46:14 +0200

On 5/10/2016 00:15, Daniel Shahaf wrote:
> Stefan Hett wrote on Mon, May 09, 2016 at 09:11:05 +0200:
>> 2) Why does the svn co command create a subdirectory 'a' instead of taking
>> the specified URL as the path to checkout entirely?
> Can you explain in more words what you expect
> .
> cd /tmp/ && svn checkout https://svn.apache.org/repos/asf/subversion/trunk/tools/
> .
> to do?
Nevermind. I just re-read the documentation on svn co and realize that
it actually does create subdirectories based on the basename in the URL.
So in combination with your other explanation on this thread everything
is sound here and I yet again learned a new detail of the svn command
line client today. :-)

TBH this is quite a surprise, since I would have assumed the PATH
defaults to "." if not explicitly specified. Given the functionality of
svn co to be able to checkout multiple paths and the general design to
help with best practices in SVN, I understand the reasoning to use a
different default behavior here however.

Regards,
Stefan
Received on 2016-05-10 00:46:48 CEST

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

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