SVN full name subversion, which is the version control system. SVN is the abbreviation for Subversion, is an open source version control system, compared to RCS, CVS, it uses the branch management system, its design goal is to replace CVS. Many version control services on the Internet have migrated from CVs to subversion. The following main introduction of SVN and VS after the file filtering configuration, svn client file filtering configuration, from the non-SVN repository filter folder, SVN version recovery and other aspects of the use of SVN description. Hope to bring convenience to everyone. 1. VS Settings
tools, Options->visualsvn->edit , &NB Sp , &NB Sp , &NB Sp , &NB Sp , &NB Sp
The following directly copied into the Ignore settings inside can be, to achieve filtering, to prevent conflicts.
[Bb]in
Obj
[Dd]ebug
[Rr]elease
*.user
*.aps
*.eto
ClientBin
Generatedartifacts
_pvt_extensions
Suo
Bin
Lib
2. SVN client SettingsSubmit to SVN
SVN needs to set some file names that do not need to be submitted
Obj folder, Bin folder, bin obj *.suo *.user *.csproj.user
Operation method
Right-click the solution folder →tortoisesvn→settings→general, such as:
In "Globalignore pattern" under Subversion, add the file types you want to exclude from the commit (separated by spaces) "Bin obj *.suo *.user *.csproj.user".
The following filter folder requirements, tried the above filter settings but only to filter to a single folder, unable to filter file clip file, so try another method.
3. Filter Unit Test Folder
1. Backup Service side
The first step: make the service-side code backup of the local system, delete the service-side code of each system in the SVN server, update the SVN client code (right-->update).
You can then filter the folders you don't need by following the steps in one step.
2. Add all Files (add) to the SVN client
3. Select the folder to filter 4. Complete filtering
5. Submit each system service side
6, vs verification, and use of attention
7. AttentionThe overall commit code will not have any effect,as long as you do not separate the test folder to do the following.
4. Version Recovery1. Right-click to restore the version of the folder
2, go to, through Showlog view Operation record version, select the version to be restored.
3, select the depth of detection
Represents four types of detection depth:
1, Fully recursive--full recursion: Check out the complete directory tree, containing all the files or subdirectories.
2, Immediate children,including folders--Direct child node, including folder: Check out the directory, containing the files or subdirectories, but do not recursively expand subdirectories.
3. Only file chlidren--: Checks out the specified directory, contains all files, but does not check out any subdirectories.
4, only this item--: Check out the directory only. Files or subdirectories not included
SVN file filtering and version update