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

Re: [Feature Request] TMerge, save as unified diff

From: Jens Peters <jpeters7677_at_gmx.de>
Date: 2007-03-26 22:05:52 CEST

>
> I would like to have such a feature as well, but I think the diffs
> produced by for example the 'Create Patch' command, are created by the
> SVN library, not by TSVN. And I'm not sure if the SVN libraries can be
> asked to diff two files that are not inside a Working Copy.
>
> AFAIK TMerge uses its own mechanism to visualise the differences
> between two files and they are not necessarily shown in the same way
> as the unified diff output that SVN would produce.
>

Yes, I know that, with "diff -u" I really meant "diff" and not "svn diff" :), I tried to produce a
unified diff with the svn client, but it really does its job only if you are inside svn context (wc
or repos url), not sure about the api, but I guess its identical. So I think one would have to
link/include an implementation of the *nix diff command to save the output as unified diff. I don't
know how hard that would be..

Regards,
jens

(The diff cmd I use on win32 comes from http://unxutils.sourceforge.net/)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Mar 26 22:16:24 2007

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.