Solved Using svn to keep system up to date

So, from what I have been able to gather, I can use svn to keep my freshly installed 10.2 system up to date like I did with the 9.3 system. So what is the point of installing the source code and ports from the installation media if we need to use svn checkout to download the repositories?

For the initial download of 10.2 security updates, will the following command work?

svn checkout https://svn.FreeBSD.org/base/releng/10.2 /usr/src

And for ports

svn checkout https://svn.FreeBSD.org/ports/head /usr/ports

I assume then I can just do make update in those respective directories to keep everything up to date then?
 
svn update just updates the directory tree. The operating system or installed ports still must be updated from those directories.
 
Right. That part I already know. It's been so long since I did a reinstall of the system that I forgot. At least with cvs, the sup files had the config. With svn, you never know. As I did with cvs, I use make update to bring the directories up to date. Then I just run the required commands to bring the system up to date.
 
SVN checked out copies are self contained meaning that all information of their origin and contents is in the .svn subdirectory of the copy. GIT uses the same methodology.
 
If you did the initial checkout with SVN a make update should work for both /usr/src/ and /usr/ports/ ;)
 
Thanks to everyone who replied. I was making sure since it's been awhile since I set it up. I ran 9.3 for over a year before going to 10.2. In that time, things are forgotten. "What was that command again?"

So I have /usr/src, /usr/ports, and /usr/doc all ready to go.
 
Been some time since this thread was updated. But anyways, since the new release has come out, I have the svn command that works.

svn switch https://svn.FreeBSD.org/base/releng/10.4

This will cause svn to change the URL and update the source tree. svn relocate TO-URL <URL> is used if the server has changed...to my understanding.
 
Back
Top