Why does Subversion / TortoiseSVN skip version numbers if the file was changed only once?

I am new to Subversion / TortoiseSVN and I want to know if there is a way to prevent Subversion from skipping version numbers in files so that I can track the time during which the file changes based on its version number:

Example: I have A.txt, B.txt and C.txt Version 1: (files added to the repository) A.txt: 1 B.txt: 1 C.txt: 1

Version 2: (edited files: A.txt and B.txt) A.txt: 2 B.txt: 2 C.txt: 1

Version 3: (edited files: A.txt and C.txt) A.txt: 3 B.txt: 2 C.txt: 3 <--------- I want this "3" to be 2 **********

******** I made one change in C.txt and I want the version number to increase once (don't skip 2 and go straight to 3). I understand why Subversion / TortoiseSVN does it this way and how it should, but for the project I'm working on, I want to do it differently. I read everywhere and cannot find anyone else with this problem. Any suggestions?

thank

I'm new to this

+3
source share
3 answers

Version numbers do not take into account how often a particular controlled artifact has been changed. Rather, they track the version of the entire set of artifacts. Thus, you can get, say, version 96, and know based on this number that you have exactly the set of files you need.

CVS VSS, , , . (, "" VSS)

+7

subversion , cvs,

+3

, Subversion. . , , svn log.

+2

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


All Articles