Resolving SVN uuid Change issues

Source: Internet
Author: User
Tags svn client tortoisesvn

Purpose: To learn svn from the programmer's point of view
SVN server:
Tigris SVN
SVN client:
Tortoise SVN

Experiment:
The first step:
Build our native SVN repository; (CORE)
Establish respository
Build a core repository on Win7, which is plainly a direction (directory) on our system
For example: I would like to set dir in the share/respon/directory of D-disk
Open cmd:
CD D:
CD Share
Verify that SVN is installed.
SVN, this command will be a hint.
SVN help; The server and client commands are available;
Next: Build the Warehouse:
Svnadmin help can get its usage
We're under the d:share.
To create a directory:
Svnadmin Create Svnrepo #svnrepo is my directory name
Part II:
Establish permission settings;
Open the Conf directory with a configuration file svnservice.conf
Remove the annotations from the #password-db=passwd, indicating that those people use those passwords to access my library;
Then, in passwd this file to find the user name and user password;
Part III:
Put the server up;
Svnserve-d-R "Directory Name" (-D for background running,-R for Super user operation)
The window can not be closed, the close will be connected with the server off

Part fourth:
Stand at the client's angle:
U1-------> representative working directory;
Checkout is to download the contents of the library;
Checkin refers to the process of uploading;

TORTOISESVN add
TORTOISESVN Commit (Submit)

Today Operation SVN Client found TORTOISESVN reported the following error:
Command Update
Repository uuid ' 62b86956-73d9-2945-ba87-0546d71898f9 ' doesn ' t match expected
UUID ' 6aed1349-fe9f-9245-a4a0-02dba53eb2d0 '
finished!

As you can see, the UUID of the original repository creator is the former, and now I am manipulating the latter's UUID. Therefore, the current operating method is

Update the UUID of the repository with the relevant commands.

The solution is as follows:
1. First look at the UUID of the project owner
Svnlook Uuid/var/svn/repos
62b86956-73d9-2945-ba87-0546d71898f9

2. Update the UUID of the project
Svnadmin Setuuid/var/svn/repos 6aed1349-fe9f-9245-a4a0-02dba53eb2d0

3. Check the results of the update UUID
Svnlook Uuid/var/svn/repos
6aed1349-fe9f-9245-a4a0-02dba53eb2d0

Ps:uuid is a random number generated automatically when Respository is created, and SVN client uses the UUID to determine whether it is the same resp. General

If you encounter a different UUID, you need to checkout again.

Resolving SVN uuid Change issues

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.