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

Re: change format to text (XML) in external diff (but no external diff for ceckout and commit )

From: Branko Čibej <brane_at_xbc.nu>
Date: 2006-08-14 09:38:24 CEST

Martin Helmling wrote:
> Hello,
>
> Before I send OpenOffice Documents to SVN, I extract the zip file
> (ODA) and insert newlines into the XML-files.
> So I need less space in the repository and a diff can tell me what is
> really changed.
>
> Than I try to make this explicit (on the fly) with SVN.
> *svn up* and *svn diff *has as feature external diff, but for *svn
> commit* and *svn checkout* I miss such a feature.
>
> What I want is, that only the textual XML-diffs are sent and received
> between client an server.
> Has someone a solution (patch) for this ?

The data sent between client and server and the output shown by "svn
diff" are in different formats. You do *not* want to fiddle with SVN's
network protocol, a client-side diff plugin is all you need.

If your goal is to save space in the repository, rather than see
meningful diffs with the client, then you do need some kind of
repackaging logic. Such things have been discussed for years (see the
mailing list archives), but nobody has come up with a useful design, let
alone implemented it.,

> The next Question is, that windows user need this in TortoiseSVN .
> Or is a better solution to implement a mime-type dependant conversion
> on server side?

You should ask on the TSVN mailing list.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 14 09:38:44 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.