Last time I wrote about how to use Git to manage AD file versions. Today I studied SVN and found that AD supports SVN better and saves trouble.
1. Click the small gear to open the preference menu and find version control.
Check enable on the right side of SVN, select version 1.9 below, click OK and close the window.
2. Open an AD project, right-click the project file and select History, then Add Project to Version Control...
3. Then select setup custom repository to create your own SVN repository
4. In the pop-up preference menu, select design repositories, and select SVN under create new.
5. In the pop-up window, fill in the SVN repository name and select the save path
6. Create a SVN repository and you can see the storage path and status
OK, close the window. You can see that there is another window asking us to choose which folder in the SVN repository to store this project. Here you need to click New Folder below to create a folder corresponding to the project and close the window.
7. When submitting a file for the first time, after closing the above window, another window will appear to prompt us which files we need to submit. You can select all or check as needed, depending on your mood. After selecting, click commit.
8. Modifications after the first commit. After SVN is initialized, a + sign will appear on the right side of the project file to indicate the status.
Try to modify the file and delete P1.
The modified file is marked with a red circle. Right-click History -> Commit to submit the changes.
Fill in the submission information
9. View changes & compare differences
Select store manager and open the submission record
Select the file you just modified in the commit record window. The VCS window below shows the commit record of this file and the commit information you just filled in.
Compare differences: Select any two versions in the VCS window, right-click compare
Then two file windows and a different window will be automatically opened. Click the difference information in different to highlight the differences in the file contents of the two versions.