Search code examples
svnrevisionsubversive

SVN : How Subversion deals with committing multiple files at once?


How does SVN behave when committing multiple files at once : does it give the same revision number to each file, or give incremental revision numbers to each file ? what would be the next revision number of the repository ?

I'm using subversion 1.6 and Subversive Eclipse plugin.


Solution

  • Of-course we have to commit multiple files at once most of the time. Development of a feature or a bug fix consists of changes in multiple files and they should be committed at once as a good practice with a clear message on what the change is about. It gives the same revision number to all. In the next commit revision num is incremented by one.