title: Check current SVN repository version
body: <p>I'm trying to figure out, how to get the current SVN repository version but with no luck.</p>
  
  <p>When I try with:</p>
  
  <pre><code>svn info -r BASE
  </code></pre>
  
  <p>I get following information:</p>
  
  <pre><code>Path: foo-svn
  URL: file:///home/hsz/Project/foo-svn
  Relative URL: ^/
  Repository Root: file:///home/hsz/Project/foo-svn
  Repository UUID: b5555486-2e29-45ed-a0bb-b925095964a9
  Revision: 10
  Node Kind: directory
  Last Changed Author: hsz
  Last Changed Rev: 10
  Last Changed Date: 2015-05-28 11:26:50 +0200 (Thu, 28 May 2015)
  </code></pre>
  
  <p>So there is a lot useless information around it. Also it varies depending on the machine language (english can be forced prepending command with <code>LANG=en_US</code>).</p>
  
  <p>But the real problem is when I commit something. The output of:</p>
  
  <pre><code>svn commit -m "foo"
  </code></pre>
  
  <p>is:</p>
  
  <pre><code>Committed revision 11.
  </code></pre>
  
  <p>But <code>svn info</code> still shows information about the revision <code>10</code>. After updating the project it is the valid version.</p>
  
  <p>Is there any way to obtain the current real version number without updating the whole project ?</p>
  
  <p><strong>edit</strong> more complex example:</p>
  
  <ul>
  <li>User A calls <code>svn update</code> and gets the latest version of the project: <code>r10</code>,</li>
  <li>User A commits new change which is noted as <code>r11</code>,</li>
  <li>User B updates the project and commits next change: <code>r12</code>,</li>
  <li><p>User A needs to know if there is any changes in the repository without updating the project, so he calls:</p>
  
  <p>svn log BASE:HEAD</p></li>
  </ul>
  
  <p>but it shows too much output:</p>
  
  <pre><code>r10
  r11
  r12
  </code></pre>
  
  <p>instead of:</p>
  
  <pre><code>r11
  r12
  </code></pre>
  
  <p>because <code>BASE</code> is <code>r10</code> instead of <code>r11</code> which was HIS last commit.</p>
  
  <p>Is it possible to get the number of the CURRENT revision in the local copy ? In this case, after the update and commit it is <code>r11</code>.</p>
  
  <p>Only <strong>svn</strong> command is supported and no <code>svn update</code> allowed.</p>