csup to svn

Paul Schmehl pschmehl_lists at tx.rr.com
Thu Nov 22 02:03:32 UTC 2012


--On November 21, 2012 8:11:05 PM -0500 Fbsd8 <fbsd8 at a1poweruser.com> wrote:

> snip
>>>
>>> csup has category called "base" that checkouts all the pieces parts
>>> making up the ports "make" environment. IE Files in /usr/ports directory
>>>
>>> svn has no category called "base"
>>>
>>> What is base called in svn category?
>>>
>>>
>>
>> svn co svn://svn.freebsd.org/base/release/8.3.0 /usr/src
>>
>> for example.
>>
>> To see the various branches, go to the svnweb site.
>> <http://svnweb.freebsd.org/>
>>
>> In general, the checkout command will pull whatever you ask for and put
>> it where you tell it to and save date in a .svn directory which then
>> allows you to run svn up from then on (unless you delete the .svn
>> directory structure) to upgrade your sources.
>>
>
> The base you have referenced in svn means kernel source.
> The ports cvup has category named base.
>
> There is no category named "base" in the svn ports category list.
>
> Doing a cvup for category "base" builds the following
># /usr/ports >ls
> .cvsignore      GIDs            LEGAL           Mk              Tools
> CHANGES         KNOBS           MOVED           README          UIDs
> COPYRIGHT       LASTCOMMIT.txt  Makefile        Templates       UPDATING
>
> How do I do same thing using svn?
>

What was base is now head.  To tell it to download only the files in head 
use:

svn co svn://svn.freebsd.org/ports/head /usr/ports svn_depth_files = 1

>
>



Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
*******************************************
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell



More information about the freebsd-questions mailing list