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

Re: svn <command>: problems with files starting with '-'

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 13 Aug 2010 16:57:22 +0300

Another option:

          svn rename -- -MediacatController.php MediacatController.php

(which is a bit easier for scripting)

Tony Sweeney wrote on Fri, Aug 13, 2010 at 10:34:58 +0100:
> The usual UNIX "trick" would be:
>
> svn rename ./-MediacatController.php MediacatController.php
>
> Does this not work for you?
>
> Tony.
>
> > -----Original Message-----
> > From: Joćo Pinheiro [mailto:joao.pinheiro_at_pontosi.pt]
> > Sent: 13 August 2010 10:24
> > To: users_at_subversion.apache.org
> > Subject: svn <command>: problems with files starting with '-'
> >
> > Hi,
> > I'm using subversion version 1.6.12 in FreeBSD and I'm having
> > some difficulties with files that start with '-':
> >
> > cm% svn rename -MediacatController.php MediacatController.php
> > svn: invalid option character: M
> > Type 'svn help' for usage.
> >
> > cm% svn rename %2DMediacatController.php MediacatController.php
> > svn: '%2DMediacatController.php' is not under version control
> >
> > cm% svn rename '-MediacatController.php' MediacatController.php
> > svn: invalid option character: M
> > Type 'svn help' for usage.
> >
> > Does anyone know a quick workaround for this?
> >
> > Regards,
> > Joćo Pinheiro
> >
> >
> >
> >
> > ______________________________________________________________________
> > This email has been scanned by the MessageLabs Email Security System.
> > For more information please visit
> > http://www.messagelabs.com/email
> > ______________________________________________________________________
> >
Received on 2010-08-13 16:00:03 CEST

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.