kpa said:
Look up any
svn tutorial to learn how to use it. That particular command can be done this way (first is checkout if the directory doesn't yet exist):
# svn co [url=svn://svn.freebsd.org/ports/head/devel/boost-libs]svn://svn.freebsd.org/ports/head/devel/boost-libs[/url] /usr/ports/devel/boost-libs/
Edit: Actually you can keep repeating the
svn co command, checkout over existing directory means update.
Or to update already existing repository:
# svn up /usr/ports/devel/boost-libs
.
devel/subversion doesn't have an equivalent of a
supfile because the checked out repository is completely self-contained.
Waiting to figure out which method to use for the ports tree. (Just then reading the
portsnap man page, it appears to delete local files upon update, which I have quite a
number of (including .htm, howto files, spare binaries...) so I may not use that ever.
Leaving svn...
----------------------------
Maybe in this instance, I can svn each subdirectory
Mk, archivers, etc...
in a batch operation, preserving more-or-less the local files, but adding a little
bit of complexity. Maybe someone has a third idea who has tried something similar.
(And maybe I'm not cognizant of some gotcha in that method).
Still
unclear on the details, maybe can post more later.
.............................
Okay, it works super, with one Gotcha...
( A .svn for /graphics/, for example, and a svn command to update the /graphics/ as would csup )
But the gotcha is, MOVED CHANGES Makefile UPDATING (etc) are not updated (Non-directories in /usr/ports).
But the gotcha WAS, "... ".... ".... ".... ".... "... Those files are available at svnweb.freebsd.org for download upon drilldown, so
the methodology calls for maybe a daily/weekly(or upon svn of the rest) additional step.
...
[questions deleted, initial test completed below...]
...
Code:
/bin/rm -rf /usr/ports/x11-themes/.svn
/bin/rm -rf /usr/ports/graphics/.svn # finish testing as above
mv /usr/ports/packages /usr/packages # move them out of the way per the mailing list
mv /usr/ports/distfiles /usr/distfiles
[svn stuff, not posting it yet because for some reason the latest UPDATING isn't there vs cvsweb] # not an expert
mv /usr/packages /usr/ports/packages
mv /usr/distfiles /usr/ports/distfiles # No local port files inadvertantly removed... but maybe were saved
............................................inadvertantly to the .svn ... (except those moved as above).
Appears I have a few years of learning to do with regards to
svn ...