1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to download FreeBSD-Current or FreeBSD-Stable using svn?

Discussion in 'Howtos and FAQs (Moderated)' started by rhyous, Dec 27, 2009.

  1. rhyous

    rhyous New Member

    Thanks Received:
    How to download FreeBSD-Current or FreeBSD-STABLE using svn?

    I didn't see any "How to" on this subject here, so I wrote this one, even though it is simple, I thought it was needed because I had always used cvs and not svn.

    Feel free to give me feed back, report typos, or errors, etc...
  2. Alt

    Alt New Member

    Thanks Received:
    Tnx =)
  3. phoenix

    phoenix Moderator Staff Member Moderator

    Thanks Received:
    Didn't know about "svn list", that's handy, thanks.

    A note for those who want to play with multiple source trees:

    When compiling the world, /usr/obj/ includes the name of the source tree, so if you have /usr/src-7, /usr/src-8, /usr/src-7.2 and so on, you can use a single /usr/obj. You'll get paths like /usr/obj/usr/src-7/ and /usr/obj/usr/src-8, and so on. Quite handy if you want to play. :)

    To "update" your source tree between versions, use svn switch. For example, if you initially did # svn co svn://svn.freebsd.org/base/releng/7.2/ but want to do a source upgrade to 8.0, then use # svn switch svn://svn.freebsd.org/base/releng/8.0/

    The nice thing about using svn, is that you can follow the -CURRENT, -STABLE, or security trees with ease, as a "source tree update" is a simple svn update in the source directory.