Difference between revisions of "Net-SNMP SVN Usage Page"
From Net-SNMP Wiki
(Add hw to create a pruned tree) |
|||
Line 44: | Line 44: | ||
svn move https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk/net-snmp https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/tags/V5-5-tags/net-snmp | svn move https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk/net-snmp https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/tags/V5-5-tags/net-snmp | ||
+ | |||
+ | Creating a partial checkout (this was found on the [http://gcc.gnu.org/wiki/SvnSetup#head-c965caf23d612222b842afd748dd514f41af1d64 GCC SVN setup page]): | ||
+ | |||
+ | Start by checking out the svn repository: | ||
+ | svn co https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/ | ||
+ | Then replace any unneeded parts with some nice and fairly empty directory: | ||
+ | svn switch https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk/net-snmp/win32/bin net-snmp/historic | ||
+ | svn switch https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk/net-snmp/win32/bin net-snmp/tags |
Revision as of 20:37, 8 May 2007
External documentation:
Checking out the main-line code base:
svn co https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk/net-snmp net-snmp
Checking out a branch (e.g. V5-4-patches):
svn co https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/branches/V5-4-patches/net-snmp net-snmp
Seeing if your local checkout has modifications:
svn status
Updating/Merging to the current repository version:
svn update
Comparing your local file to the repository file:
svn diff FILE
Committing you changes (requires write access)
svn commit FILE
Listing what's available in the remote repository:
svn list https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/tags/
Figuring out who modified a line in a file (cvs annotate):
svn blame FILE
Tagging and branching:
svn move https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk/net-snmp https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/branches/V5-5-patches/net-snmp
tag:
svn move https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk/net-snmp https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/tags/V5-5-tags/net-snmp
Creating a partial checkout (this was found on the GCC SVN setup page):
Start by checking out the svn repository:
svn co https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/
Then replace any unneeded parts with some nice and fairly empty directory:
svn switch https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk/net-snmp/win32/bin net-snmp/historic svn switch https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk/net-snmp/win32/bin net-snmp/tags