Both the escaping of the '-' and adding '--' before the filename did the
trick :-)
Thanks!

BTW, This was on Windows.

On Tue, Mar 16, 2010 at 2:05 AM, Ryan Schmidt <
subversion-20...@ryandesign.com> wrote:

>
> On Mar 15, 2010, at 16:12, Aaron Friesen wrote:
>
> > From: Itamar O [mailto:itamar...@gmail.com]
> >> 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.
> >
> > Try:
> >
> > svn add -- "- example.txt"
>
> FYI, this is not unique to Subversion; most UNIX command line programs have
> this behavior.
>
>

Reply via email to