I’m developing android application using eclipse and svn for version control.
I wanted to know the next Revision number of svn before committing my project source.
Form Properties->Team->Show History, i can get the current Revision number, but i cant assume that the next revision number will be always +1 , because from the branch if any commit made then the next Revision number would be +2 or +3 depends upon number of Commit from branch .
So please someone tell me how to get the next Revision number.
Thanks
I don’t think that’s possible, for the exact reason you state: there could be revisions between when you receive the number, and when you commit. As far as I know, Subversion does not allow “locking” revision numbers – nor would it make sense.
There is an established workflow for inserting the revision number into your code base. That is probably what you want. It is explained in this question.