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

Re: Spaces in Keyword Expansion

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-06-16 14:51:52 CEST

On Thu, 16 Jun 2005, Vincent Lefevre wrote:

> On 2005-06-16 00:07:16 -0500, Xevious wrote:
> > I am attempting to include the $Id keyword in
> > a RTF document. All is well, except that the
> > spaces in the filename are being escaped to %20
> > like so:
> >
> > Mr%20Bigs%20Important%20Doc
> >
> > This is unattractive and not quite the desired
> > result. Is this the normal behavior?
>
> Escaping of some characters (at least '$', and '%' as the escape
> character) is necessary. I think it is a good idea to escape the
> space too to ease the parsing of the Id keyword (I need that here).
> Otherwise this could be optional and could be part of bug 890.
>
>
I was going to commit a patch that "fixed" this "bug". Now I realize that
this might cause problems for people parsing the Id keyword expansion. So,
maybe we should document Id as containing the basename of the URL, not the
filename (I don't know if it is documented as the latter anywhere).

Any opinions? Should I drop my patch or commit it?

Best,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 16 14:52:59 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.