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:[email protected]]
> Sent: 13 August 2010 10:24
> To: [email protected]
> 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
> ______________________________________________________________________
>