Page 1 of 1
@PopB4Smtp filename not happy with svn?
Posted: Mon Dec 08, 2008 2:11 pm
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.
Re: @PopB4Smtp filename not happy with svn?
Posted: Mon Dec 08, 2008 3:03 pm
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 @?
Re: @PopB4Smtp filename not happy with svn?
Posted: Mon Dec 08, 2008 3:08 pm
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.
Re: @PopB4Smtp filename not happy with svn?
Posted: Mon Dec 08, 2008 3:22 pm
by gmorehoudh
The docs in the wiki refer to a $, but we are using 3.3.2 for PHP 5.
Re: @PopB4Smtp filename not happy with svn?
Posted: Mon Dec 08, 2008 3:23 pm
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.