title: Subversion: Tag and commit modified files at once
body: <p>I want to do something like this from within Eclipse: <a href="http://svn.collab.net/viewvc/svn?view=rev&amp;revision=33845" rel="nofollow noreferrer">http://svn.collab.net/viewvc/svn?view=rev&amp;revision=33845</a></p>
  <p>I use Subversive 0.7.5 with the Native JavaHL 1.5.3 (r33570) Connector.</p>
  <p>I tried to change something in a my working copy of a branch i'd like to tag and creating a Tag with Team -&gt; Tag... But I got the error message:</p>
  <blockquote>
  <p>Tag operation for some of selected resources failed.</p>
  <p>A path under version control is needed for this operation</p>
  </blockquote>
  <p>I tried only a tag name and one with full repository path. Both resulted in the same error.
  This is the error I get:</p>
  <pre><code>*** Tag
  svn copy &quot;C:/workspace/some_branch&quot; &quot;http://server:8080/svn/project/tags/TagWithChange&quot; -r WORKING -m &quot;TagWithChange&quot; --username &quot;masi&quot;
  A path under version control is needed for this operation
  </code></pre>
  <p>Is it possible from within Eclipse?</p>
  <p>How would you do something like this from the command line? See my own answer.</p>
  <p>Though if I use the following at the command line I get an error:</p>
  <pre><code>svn copy &quot;C:/workspace/some_branch&quot; &quot;http://server:8080/svn/project/tags/TagWithChange&quot; -r WORKING -m &quot;TagWithChange&quot; --username &quot;masi&quot;
  </code></pre>
  <p>Error:</p>
  <blockquote>
  <p>svn: Syntax error in revision argument 'WORKING'</p>
  </blockquote>
  <p>I'm using the svn client 1.5.4.</p>