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

Re: Q: checkout subdirectory but maintain parent directory structure

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-02-04 18:42:36 CET

On Feb 4, 2006, at 14:37, Wendy Smoak wrote:

>> My current directory structure looks something like
>> trunk/dev/src/controlpath/system_mgmt/...
>> Basically, I want to checkout everything under the system_mgmt
>> subdirectory
>> but maintain the /dev/src/controlpath parent directory structure.
>> Is that
>> possible?
> This (all on one line) will create the directory structure and do
> the checkout:
> svn co http://<server>/trunk/dev/src/controlpath/system_mgmt
> dev/src/controlpath/system_mgmt
> Only 'system_mgmt' is a working copy.

Or one could use the well-loved shell expansion trick to make it even
more concise (all on one line):

svn co {http://<server>/trunk/,}dev/src/controlpath/system_mgmt

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Feb 4 18:43:54 2006

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.