Ulyssesonline

the tech surfer

  • Home
  • About
  • Archives
You are here: Home / General / Creating Subversion Tags in Ubuntu

April 3, 2011

Creating Subversion Tags in Ubuntu

I just ran into an issue while creating tags in Subversion. I was using the example given from the documentation how to create Tags.

The example command given is:

svn copy http://svn.example.com/repos/calc/trunk \
http://svn.example.com/repos/calc/tags/release-1.0 \
-m "Tagging the 1.0 release of the 'calc' project."

svn copy http://svn.example.com/repos/calc/trunk \ http://svn.example.com/repos/calc/tags/release-1.0 \ -m "Tagging the 1.0 release of the 'calc' project."

Unfortunately, this command spits out an error saying:
svn: Cannot mix repository and working copy sources

Here’s the fix:

Removing the backslash seem to do the trick. Anyways, I’m not sure if the Subversion instructions need to be updated to reflect this finding, or if this command only works in Ubuntu, or just on my system. Nevertheless, it’s one way of creating Subversion Tags in Ubuntu.

Filed Under: General, Linux Tagged With: backslash, subversion, tags, version control

Copyright © 2003 - 2018