@PopB4Smtp filename not happy with svn?

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
gmorehoudh
Forum Commoner
Posts: 50
Joined: Tue Mar 04, 2008 1:49 pm

@PopB4Smtp filename not happy with svn?

Post by gmorehoudh »

ERROR: Got error status from ['svn', 'propget', 'svn:mime-type', 'code/classes/Swift/Swift/Authenticator/@PopB4Smtp.php']:
svn: Syntax error parsing revision 'PopB4Smtp.php'

This when attempting to upload a patch review to our copy of reitveld, though I believe the actual issue is with svn and the filename.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: @PopB4Smtp filename not happy with svn?

Post by Chris Corbyn »

What command are you running? propget? A lot of the time in subversion, you use filename.ext@revision, and it appears to be choking on that. Have you tried placing a backslash before the @?
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: @PopB4Smtp filename not happy with svn?

Post by Chris Corbyn »

The problem is that subversion think the bit after the @ is the revision number.

Throw an @ onto the end of the filename too and subversion will ignore the first one ;)

I seem to remember switching to a $ symbol instead, though it's been a while since I worked on the version 3 code.
gmorehoudh
Forum Commoner
Posts: 50
Joined: Tue Mar 04, 2008 1:49 pm

Re: @PopB4Smtp filename not happy with svn?

Post by gmorehoudh »

The docs in the wiki refer to a $, but we are using 3.3.2 for PHP 5.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: @PopB4Smtp filename not happy with svn?

Post by Chris Corbyn »

Yeah I got confused, the docs are out of date. I had to remove the $ and change to an @ since it didn't play nicely with some FTP servers. Hmmm....

The trick of appending an @ to the end of the filename does work though.
Post Reply