[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Problem with "svn add" command

From: Itamar O <itamarost_at_gmail.com>
Date: Mon, 15 Mar 2010 23:06:21 +0200

I might be doing something wrong here,
but I have an unversioned file named "- example.txt" (don't ask why..),
and when I 'svn add "- example.txt"' I get:
  svn: invalid option character:
  Type 'svn help' for usage.

Seems that the add command thinks the initial "-" is an option prefix...
This also occurs without the whitespace between "-" and "example.txt"
(then I get "svn: invalid option character: e").

Is there a way to work around this?

Itamar O.
Received on 2010-03-15 22:06:49 CET

This is an archived mail posted to the Subversion Users mailing list.