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

Re: Using subversion's diff library as a standalone tool

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-05-19 00:24:37 CEST

Niall Dalton <niall@xrnd.com> writes:

> A colleague suggested that the subversion diff implementation
> performed well on big files, that there was some interest in a
> streaming version, and it making is usable as a standalone tool.
>
> Is the library suitable for my particular use?

There has been some attempt to make Subversion's diff streamy but I
don't know how complete it is, you probably have to try it to find
out. Subversion's diff doesn't implement GNU diff's heuristics, which
means that Subversion's diff operates more like GNU's "diff --minimal"
than plain "diff".

> Has it been wrapped as a standalone tool?

There is a program that calls the Subversion library functions. In
1.1 it was located under tests/, in 1.2 it has moved to tools/, see:

 http://svn.collab.net/repos/svn/trunk/tools/diff/

Build it using "make diff".

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 19 00:25:25 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.