Idea upload code to SVN

The code written on IDEA is uploaded to the SVN server

background:

1. The project is an existing project, and it was transferred from eclipse to IDEA for editing.
2. The SVN version management has been used when editing in eclipse.
3. After about half a year, after importing to IDEA for editing, it was not uploaded to SVN
. 4. Re-downloaded locally Little turtle Tortoisesvn

train of thought

1. Create a new project on the SVN server without using the original folder
2. Use IDEA to import the project into the new SVN project

Action plan

1. Configure SVN in IDEA
insert image description here
2. Import the project to SVN
insert image description here
Select or create a new SVN path

Select the directory where the project is located
Select the directory where the project is located
Confirm the import information
insert image description here
and the operation is complete

Problems encountered in operation

The problems encountered in the operation are concentrated after confirming the import information, and the import failure is always reported

1. Because the project contains SVN information (the information of connecting to svn in eclipse) and the version is lower than that of the newly installed little turtle, an error is reported: svn: E155036 Working copy … is too old Please see the 'svn upgrade' command Reason: svn information already
exists It is lower than the current version
Solution: Jump to the project directory folder under the command line and execute the "svn upgrade" command
Log information:
insert image description here
insert image description here
2. SVN certificate verification failed, svn: E230001: Server SSL certificate verification failed:
insert image description here
Solution
(1) Open cmd
(2) Execute the command: svn ls https://svn address (to the level of the project directory)
(3) Enter p, press Enter
(4) Enter the administrator password, press Enter

Guess you like

Origin blog.csdn.net/xiaohuaidan007/article/details/105347029