On Wed, Jan 18, 2012 at 06:24, Ryan Schmidt <subversion-20...@ryandesign.com> wrote: > On Jan 18, 2012, at 05:22, Stephen Butler wrote: > >> On Jan 18, 2012, at 11:59 , Herbert wrote: >> >>> Error displayed (translated): >>> Pre-Commit blocking with exit-code 255. >>> """="*" can not be processed >> >> This is an error message from a pre-commit hook script installed by >> your Subversion administrator. It's not a Subversion (or TortoiseSVN) >> bug. FWIW, TortoiseSVN calls the Subversion API directly, so no shell >> escaping is involved on the client side. >> >> Ask your administrator why he or she chose to forbid quotes in the >> commit messages. > > Ah, right. I'm guessing the administrator did not intend to prevent commit > messages with quotation marks, merely that the administrator never tested > that scenario and is not escaping things properly in their script. > >
The latter is the most likely scenario. Escaping characters in DOS batch files isn't as obvious as it is in sane programming environments. My own pre-commit hook has the same flaw. I just haven't gotten around to fixing it because I have few enough users that it's easier to just tell them "don't do that" - and I haven't been given the time to redo my hooks in a better language.