=========================================================================
SVN Tutorials
By Chaiwoot Boonyasiriwat
=========================================================================
=========================================================================
- Setup SVN environment
Use "setenv SVN_EDITOR gvim"
=========================================================================
- Create SVN root directory
Go to a directory where we want to create the SVN root directory.
Synopsis:
svnadmin create REPOS_PATH
Example:
svnadmin create svndir
=========================================================================
- Create a new project repository using existing files or directories
Synopsis:
svn import [PATH] URL -m [COMMENT]
Example:
svn import projdir file://svndir/projdir -m "comment"
=========================================================================
- Check out a project from the repository
Synopsis:
svn checkout URL [PATH]
svn co URL [PATH]
Example:
svn co file://svndir/projdir projdir
=========================================================================
- Check in a file into the repository
Synopsis:
svn commit [PATH] -m [COMMENT]
svn ci [PATH] -m [COMMENT]
Example:
svn ci file -m "comment"
=========================================================================
- List the SVN repository
Synopsis:
svn list [TARGET]
Example:
svn list file://svndir
svn list projdir
=========================================================================
- Update the project
Synopsis:
svn update [PATH]
Example:
svn update .
svn update projdir
=========================================================================
- Print log messages
Synopsis:
svn log [PATH]
svn log URL [PATH]
Example:
svn log .
svn log file
=========================================================================
- Check the status of files and directories whether or not they need
to be updated.
Synopsis:
svn status [PATH]
Example:
svn status .