Version Control with Subversion
What is SVN?
Subversion:
a free/open-source version control system
Content
Beginning
Basic Working Cycle
Extensive Subversion Features
Log Message Rule
Beginning
Create Repository
Getting Data into your Repository
Initial Checkout
Resolve Conflicts
Create Repository
Create a empty folder before create new repository
Create repository at the new created mand line interface
svnadmin create REPOS_PATH
example: svnadmin create /home/svn/repository
This operation must be done at server side
Create Repository with Tortoise
These files will be created at server side when we create a repository
Getting Data into Your Repository
svn import [PATH] URL
example: svn import myLocalDir file:///D:/Repository \
-m “import my Local Directory”
svn list [TARGET[***@REV]…]
example: svn list file:///D:/Repository
Import using Tortoise
Select Import…
Input URL of repository
Input log message
Check include ignored files or not
Importing
Initial Checkout
Command line interface
svn checkout URL [***@REV]…[PATH]
example: svn checkout file:///D:/Repository /home/WorkCopy
example: svn checkout –r 2 file:///D:/Repository
Checkout using Tortoise
Select SVN Checkout…
Input URL of repository
Input Checkout directory
Choose checkout Depth
Check Omit externals or not
Choose revision you want to get
Checking out
After checked out we will get the files like these
SVN使用手册 来自淘豆网m.daumloan.com转载请标明出处.