Difference between revisions of "Net-SNMP SVN Usage Page"

From Net-SNMP Wiki
Jump to: navigation, search
(checkout is a somewhat inefficient form of list :-))
Line 23: Line 23:
 
Listing what's available in the remote repository:
 
Listing what's available in the remote repository:
  
   svn co https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/tags/
+
   svn list https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/tags/
  
 
Figuring out who modified a line in a file ''(cvs annotate)'':
 
Figuring out who modified a line in a file ''(cvs annotate)'':
  
 
   svn blame FILE
 
   svn blame FILE

Revision as of 09:56, 2 March 2007

Quick Notes on using SVN to pull the current Net-SNMP development code base:

Checking out the main-line code base:

 svn co https://net-snmp.svn.sourceforge.net/svnroot/net-snmp/trunk/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