Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why would a site display SVN version and what are the advantages?

I have not used SVN so far. Why would a Web site (such as Stack Overflow, for example) display a SVN version at the bottom? What version is it? And what are the advantages of displaying it in public?

alt text http://shobankr.googlepages.com/so.jpg

like image 374
Shoban Avatar asked May 27 '09 04:05

Shoban


1 Answers

So that when a user complains the support guys can ask him what version it was. It may happen that the user sees a problem, than the site software is updated and his complain is no longer relevant so the developers will waste time trying to reproduce.

That number is the SVN revision number. It starts at zero and increments automatically with each source code add/update over the life of SVN repository. Knowing this number it is easy to get the full source code exactly in the corresponding state - the repository has a method for that.

like image 137
sharptooth Avatar answered Oct 18 '22 21:10

sharptooth