I want to create a Qt app which, among other things, will display the current revision number (that is the HEAD revision number) of a particular repository URL. With the help of svn help
and this and this link, I was able to almost get what I want by calling the command svn info <repository-url>
. The problem is that this command return lots of unwanted info (such as "last changed author", etc.), while I want only the revision number (or as much as few text as possible).
So how can I do it?