For one of my project I'm using Subversion(Rabbit VCS). The revision number is incremented for every check-in, but I'm unable to understand all the factors on which amount of increment in revision number on check-in depends. Check-ins caused an increment from 1 to 25
and branch merge did an increment of 94
. Can anyone point out to algo used for calculating this revision number change.
相关问题
- How can I set the SVN password with Emacs 23.1 bui
- If statements in .htaccess files, to enable passwo
- SVN+SSH checkout over VPN using tortoise SVN, Smar
- Mercurial compared to private branches in SVN
- Using Subversion and SourceSafe at the same time?
相关文章
- What is the tortoisehg gui equivalent of doing “hg
- How to use Mercurial from Visual Studio 2010?
- SSIS solution on GIT?
- Is it possible to do a “destroy history” in TFS?
- Is there a version control system abstraction for
- Intermittent “SVNException: svn: E175002: Connecti
- IntelliJ Subversion Authentication Required Dialog
- TortoiseHG and hgsubversion (Windows): “no module
Every single commit againt Subversion counts as one revision. The number reported by Subversion is simply the sequence number of that commit. For example if there is a jump of 94 between any two of your commits one or more other users of the subversion repository have completed 93 other commits.
In some development environments in addition to humans there are also automated processes, e.g. automated builds that create tags or branches, and therefore cause the revision number to increase.
The algorithm used by Subversion is very simple: Start with zero when the repository is created then count the number of successful commits against the repository. Note that commits are atomic (or transactional) and hence completely sequential similar to a database system with transaction support.