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

[PATCH 2] Re: Issue 1954

From: Philipp Marek <philipp_at_marek.priv.at>
Date: 2006-07-23 11:49:10 CEST

On Friday 21 July 2006 18:35 Philipp Marek wrote:
> Hmmm, I see what you mean.
> We need to allow one more character than before, to use that as escape
> character.
> All "old" clients can't make such filenames, any new ones do.
>
> Although I'm -1 on using a "special" (control) character for escaping, it
> would be the only "right" way to solve that problem.
> TBH, I don't believe that we'd have a problem with my proposed encoding
> scheme (practically) - is there anyone using "\\x09" in a filename? (Ok, a
> tab character is not that often used, too :-)
Here's another patch; this one escapes the escape character, too.
This should now be a correct way to escape characters; a path "\\hello" stays
the same, a path "\\\ttab" gets encoded to "\\x5c\\x09tab", and the property
defines without doubt whether a path needs to be decoded.

Other comments? Votes?

Regards,

Phil

-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sun Jul 23 11:49:48 2006

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.