Svn native development and tags repair?

svn warehouse

|-project
|-|-trunk
|-app1
|-|-branches
|-dev1
|-app1
|-1.0
|-|-tags
|-1.0

Local development directory

|-~ / wwroot
|-|-app1 the directory where nginx has been configured.

so app1 is a development workspace, so now that app1 is developing locally for 2.0, there is a sudden problem that needs to be fixed. How can I switch the workspace of app1 to 1.0?

ways you can think of

  1. svn switch

svn switch but when switched, it will be merged with the code in the current workspace.

  1. configure nginx locally in the setup directory

but this method feels troublesome. I still think that in mode 1, we can directly switch the project to the 1.0 branch to fix it, so that we don"t have to reconfigure nginx

.
May.22,2021

you can pull a 1.0 branch locally, and then create a soft chain for the entry file of this branch and place it in a fixed directory. The root configured by nginx points to this soft chain. If you want to switch back to 2.0, you can overwrite the original soft chain with 2.0 entry file soft chain (created using ln-s command)

Menu