Is there a way to get TortoiseSVN to temporarily ignore version files?

We have certain configuration files that we want to use in version control, because they set the default parameters for the project: search path, conditional definitions, etc. Unfortunately, these files are also used by the IDE (Delphi 5) to store temporary information. The IDE constantly updates files during development, which leads to the fact that Tortoise constantly updates the working directory, despite the fact that all that could happen is the assembly of the project. Sometimes we really want to commit changes to these files, for example, if the dependencies of the project search path change, but in most cases they are just a source of noise.

My first thought was to check the files, apply the global ignore pattern in TortoiseSVN, to ignore the offending file types and remove the global ignore when I made a genuine change to the code that I want to register. However, it appears that if the file version is already in the repository, Tortoise will not ignore it.

Is there a way that I can set this so that 1) Files are pulled out during the scan. 2) There are some ways to ignore changes to these files
3) There is a way to check for significant file changes if necessary

+2
source share
3 answers

, , , , , . .template .

, , , .template . ( ) , , .

, , , . , , /. , , .

+10

1.5, TortoiseSVN , . TortoiseSVN , ignore-on-commit, " , , ". . .

ignore-on-commit, Check for Modifications Commit , change lists >> ignore-on-commit. , Commit ignore-on-commit, unchecked, . , , ; TortoiseSVN , . , ignore-on-commit, , .

( 3 , , . , . , TortoiseSVN 1.5, 2008 - , , .)

+11

, , . , "" - , "idefiles", , IDE. , IDE, .

" ", "idefiles".

:

, "idefiles" . ...

, "idefiles" , IDE. ( ).

By the way, the problem of “configuration files in version control” was discussed earlier, for example:

How to save configuration parameters in SVN?

+1
source

Source: https://habr.com/ru/post/1735099/


All Articles