You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Miklós Fazekas <bo...@mac.com> on 2002/05/29 09:11:46 UTC

Extensible client side translations?

We'd like to use SVN in a Macintosh/Windows environment. 
We'd need two kind of client side conversion that's currently not
supported by SVN:
 
1. Some kind of codepage translation, because some non ASCII characters
are represented differenty on the platforms.
2. MacOS binary files contains metadata that have to be encoded.
 
I think that probably both changes would be too proprietary to become
part of the standard SVN. If there would be an API in libsvn_wc to add
such translations that would be more than fine for us.
[ Note that most MacOS CVS clients has some sort of translation that
equivalent to (1) and (2) ]
 
Ther's already some client side translation done in SVN:
- keyword substitution,
- lineend translation,
- unix execution bit translation to svn metadata
 
Is there any plan to unify these kind of client side translations? For
example: local encoding -> UTF-8 conversion could be done in such
translator.
 
I'd imagine something like the API bellow in translate.h:
 
translate_client_to_server
translate_server_to_client
add_new_translation (client_to_server_callback,
server_to_client_callback)
 
Is there any plan to do this thing? Would it be a welcomed change? (Post
svn 1.0)
I'd volunteer for it, with some help in the design.
 
Regards,
Miklos.