csup to svn

Fbsd8 fbsd8 at a1poweruser.com
Thu Nov 22 14:31:10 UTC 2012


Paul Schmehl wrote:
> --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
> 

That did not work. But this did work

  svn co svn://svn.freebsd.org/ports/head /usr/ports --depth files
  svn co svn://svn.freebsd.org/ports/head/Mk /usr/ports/Mk
  svn co svn://svn.freebsd.org/ports/head/Templates /usr/ports/Templates
  svn co svn://svn.freebsd.org/ports/head/Tools /usr/ports/Tools





More information about the freebsd-questions mailing list