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

show diffs in a gui client, how to get a list of changed files?

From: Martin Hauner <Martin.Hauner_at_gmx.net>
Date: 2005-05-26 11:08:44 CEST

Hi,

I would like to handle diffs on urls/paths (tags/branches) in subcommander
by presenting a list of the files with differences and by showing the diff
when you select a file from the list.

For example if i want to see the difference between the trunk and a tag and
the file subcommander.cpp was changed i would like to get the following info

 trunk/subcommander/subcommander.cpp, r800
 tags/0.9.0/subcommander/subcommander.cpp, r750

subcommander.cpp will be presented in the gui in a list view. I can then
select it to see the differences in detail by running the diff:

svn_client_diff( "trunk/subcommander/subcommander.cpp", 800,
  "tags/0.9.0/subcommander/subcommander.cpp", 705, ... );
  

What i would like to get from the svn api is a list of the files with
differences and the info i need to run the diff on those files to show their
difference.

I looked into the code but there is lot of stuff happening inside
svn_client_diff..

Where do i start to get this info from the subversion api?

-- 
Martin
Subcommander, http://subcommander.tigris.org
a x-platform Win32/Unix/Linux/MacOSX svn gui client & a text diff/merge
tool.
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 26 11:09: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.