Error executing svn commands in cmd line

I am trying to run the svn copy command as shown below.

svn copy https://rb-svn1.in.company.com/svn/Project500/branches \ https://rb-1.in.company.com/svn/cust04/Project500/tags/V1.xx \ -m "Dummy test version V1.xx tag" 

But I get an error message:

 svn: Local, non-commit operations do not take a log message or revision properties 

Can someone tell me what is going on here?

Vatsa

+6
svn tortoisesvn
source share
2 answers

I also ran into the same error when trying to create a tag from the command line. The error I made is that I put a space in the tag name.

A few things you need to keep in mind when creating TAGS in SVN:

  • The tag is always created from TRUNK.
    (because it is, in fact, a "working copy" and after creating the tag a version number is created)
  • You should never put a space between words for a tag.
    I also hope that you do not put a backslash "\" while you type the complete command

The correct syntax is:
svn copy https: //.../trunk https: //.../tags/ "tag without spaces" -m "Release 1x.x of YourProductName"

These were my 0.02 dollars. Hope you find this helpful :)

+1
source share

Well, it looks like SVN doesn't need any -m or -r option. Therefore, it will copy your repository from one place to another.

This note is taken from "svn help copy": URL → URL: a full copy on the server side; used for branching and tag

0
source share

All Articles