The usage and repos configuration of SVN related instruction in Linux

Source: Internet
Author: User
Tags auth commit svn

Recently, in order to facilitate the management of the program, in the server installation Svnserver, scheduled to update the version regularly!

Windows Server 2008 used by the server environment the Linux for my client uses commands to operate on the command environment

First, the use of instructions

A, server-side use (if the server is Linux, the following Windows DOS instructions are replaced with the corresponding shell command)

1. Create Warehouse

The code is as follows Copy Code
Svnadmin Create test/


2. Initialize Warehouse

The code is as follows Copy Code
MD Source


Build a file under this directory

The code is as follows Copy Code
SVN import source/file:///f:/lycsvn/repos1/-M "Init source"


3. Test new position is normal

The code is as follows Copy Code
SVN checkout file:///f:/lycsvn/repos1/

B, customer service side and server can use
4. View the position remotely

The code is as follows Copy Code
SVN list Svn://ip/shop


5. Checkout the position file to local

The code is as follows Copy Code
SVN checkout Svn://ip/test F:/TESTSVN


6. Need to submit a position after modifying the file

The code is as follows Copy Code
SVN commit–message "Shuacommand" –username=shua–password=redhat f:/testsvn


7. What about new documents?

The code is as follows Copy Code
SVN add F:/TESTSVN
SVN commit--m "Testmessages" f:/testsvn


Second, repos configuration file modification

The code is as follows Copy Code
CONF/PASSWD Plus username = password
Conf/svnserve.conf

#anon-access = Read
#auth-access = Write
#password-db = passwd
Amended to
Anon-access = None
auth-access = Write
Password-db = passwd

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.