Changes between Initial Version and Version 1 of Getting-Started/Using-Subversion


Ignore:
Timestamp:
Apr 28, 2009 1:12:19 PM (16 years ago)
Author:
ismangil
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/Using-Subversion

    v1 v1  
     1What is Subversion 
     2 
     3Subversion (SVN) is Open Source version control system similar to CVS. Subversion homepage is in http://subversion.tigris.org/ 
     4 
     5  
     6Getting Subversion Client 
     7 
     8A Subversion (SVN) client is needed to download the PJ source files from pjsip.org SVN tree. SVN client binaries can be downloaded from http://subversion.tigris.org/, and the program should be available for Windows, Linux, MacOS X, and many more platforms. 
     9 
     10  
     11Getting the Source for The First Time 
     12 
     13Once Subversion client is installed, the following commands can be used to initially retrieve the latest sources from the Subversion trunk: 
     14 
     15         
     16 
     17$ svn co http://svn.pjsip.org/repos/pjproject/trunk pjproject 
     18$ cd pjproject 
     19 
     20  
     21Keeping The Local Copy Up-to-Date 
     22 
     23Once sources have been downloaded, we can keep the local copy up to date by periodically synchronizing the local source with the latest revision from the PJ's Subversion trunk. The mailing list provides best source of information about the availability of new updates in the trunk. 
     24 
     25To update the local copy with the latest changes in the main PJ's repository: 
     26 
     27         
     28 
     29$ cd pjproject 
     30$ svn update 
     31 
     32  
     33Tracking Local and Remote Changes 
     34 
     35To see what files have been changed locally: 
     36 
     37         
     38 
     39$ cd pjproject 
     40$ svn status 
     41 
     42The above command only compares local file against the original local copy, so it doesn't require Internet connection while performing the check. 
     43 
     44To see both what files have been changed locally and what files have been updated in the PJ's Subversion repository: 
     45 
     46         
     47 
     48$ cd pjproject 
     49$ svn status -u 
     50 
     51Note that this command requires active Internet connection to query the status of PJPROJECT's source repository.