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

Re: Reading and applying a diff file with Perl bindings

From: Mathias Weinert <mathias.weinert_at_gfa-net.de>
Date: 2005-10-18 15:59:16 CEST

Philip Martin <philip@codematters.co.uk> wrote:

> "Mathias Weinert" <mathias.weinert@gfa-net.de> writes:
> > So let's change my question to this:
> > Is there any function available via the Perl bindings which allows to directly
> > apply a unified diff (produced by 'svn diff') to a path in the repository?
> No, there is no Subversion code that attempts to read unified diffs.
> Subversion does generate an internal form of diff that is comparable
> to a unified diff, but it is only used when handling working copies.
> When dealing directly with repositories the txdelta format is used.

Okay, thanks for your help.

...but give me one last try ;-)
What about the function svn_txdelta_parse_svndiff(). I hoped that it will be able
to convert diff to txdelta but have no idea how to use it (or let's say if it
could at all easily be used for my purpose).

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 18 16:02:32 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.