[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: Ryan Schmidt <subversion-2010a_at_ryandesign.com>
Date: Mon, 15 Mar 2010 19:05:00 -0500

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 01:05:35 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.