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

Re: Problem with "svn add" command

From: Itamar O <itamarost_at_gmail.com>
Date: Tue, 16 Mar 2010 06:50:59 +0200

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-2010a_at_ryandesign.com> wrote:

>
> On Mar 15, 2010, at 16:12, Aaron Friesen wrote:
>
> > From: Itamar O [mailto:itamarost_at_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.
>
>
Received on 2010-03-16 05:51:39 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.