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

Re: excluding folder for co of vendor src

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-12-13 22:06:25 CET

On Dec 12, 2006, at 19:18, David Pratt wrote:

> Hi. I want to co a vendor source and put it under version control.
> I wish to exclude a folder from the vendor src when I do this. Can
> someone advise a solution. Many thanks.

You use the verb "co." I assume you mean "checkout," which I assume
means that the vendor source is already under Subversion version
control? If so, I'd use "svn export" instead to get a copy of their
source. Then simply "rm -rf " the directory you don't want in your
local repository. Then "svn import" it into your local repository.

In the future, if you want to update your local repository, you can
use the svn_load_dirs.pl script which is in the contrib directory of
the Subversion source distribution. The script and more strategies
are explained in the book in the chapter on vendor branches. See
http://svnbook.org

Before importing a new copy with svn_load_dirs.pl, you would need to
again manually remove the directory that you don't want to have.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 13 22:07:29 2006

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