Martin Hauner wrote:
> 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
What's also needed here is information about the kind (folder/file), and
if it's a property change or a content change.
> 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, ... );
Or even better: an svn_client_cat() on both files, then start a visual
> 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
> I looked into the code but there is lot of stuff happening inside
> Where do i start to get this info from the subversion api?
I also want to ask for this feature to use in TSVN. Currently, I'm doing
an svn_client_diff() on both URL's, then parse the returned unified diff
for the file list. But that is *awfully* slow if there are a lot of
changes between those two branches - I once did a test and cancelled it
after 5 minutes because it still wasn't finished with svn_client_diff()!
As Martin already said: this feature would be used to show the list of
changed files so the user can then start a diff tool on that file.
And as far as I can remember, there have already been some requests
about this kind of feature for people who want to use this list for
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Thu May 26 12:49:29 2005