On Thu, 27 Dec 2012, Garrett Cooper wrote:

On Thu, Dec 27, 2012 at 1:18 AM, Wojciech Puchar
<[email protected]> wrote:
but i can't find "moron guide" for using svn to update tree.

I never used cvs or svn myself just want to

1) get latest FreeBSD 9-* sources
2) get latest HEAD sources.

1. Checkout the sources:

cd /usr/src # Change to something else if you don't want to checkout
to /usr/src.
svn co http://svn.freebsd.org/base/stable/9 . # stable/9
svn co http://svn.freebsd.org/base/head . # CURRENT

2. Updating:

cd /usr/src # Same caveat as above.
svn up

See also: http://www.freebsd.org/doc/handbook/svn.html .

I see a lot of people switching to the target directory first rather than just including it as an argument for svn. Is there an advantage there that I'm missing? I've always just used

  svn co http://svn.freebsd.org/base/stable/9 /usr/src

and

  svn up /usr/src
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to