How to refer to a specified repository by external reference in SVN
I had a chance to do something like a symbolic link in the SVN repository, and there is a way to refer to a folder in a specified location in the repository with a feature called External References.
Right-click on the folder you want to refer to (let’s say C:\SampleProject) and select “Properties”.
Select “New” – “External Reference” to open the following
Click “New. On this screen, enter the folder name (here common) in the local path and the repository name (https://hog/~~~/common) in the URL to externally reference it.
The property will be “svn:externals”.
Now the repository common will be externally referenced under the folder C:\SampleProject\common Finally, you must commit the property changes to C:\SampleProject.
It is OK if the folder icon in Eclipse(STS) has an arrow as shown below.
svn command to display a list of properties
You can use the svn proplist command if you want to check if a property has really changed.
With the “-v” option, it is possible to list the names and values of all attributes.
C:\>svn proplist -v https://10.240.5.50/svn/pg svn:ignore .gradle
コメント