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

Re: tree-conflicts: dirs_same_p()

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 25 Sep 2008 23:59:04 +0100

On Thu, 2008-09-25 at 23:38 +0100, Julian Foad wrote:
> Neels, this didn't ever work. This is me having started to port some of
> the diff code into this new "dirs_same_p" function. I haven't finished
> it. I forgot to initialise "target", as you've discovered. There are,
> I'm quite sure, other things I haven't yet initialised or coded in this
> function.

I copied most of the code in this dirs_same_p from
diff.c:diff_repos_wc(). You might do better to look at that yourself and
figure out how to write something like it, rather than starting from my
attempt where I can't tell you which parts I think I've done right and
which I haven't.

A similar but better way of doing this, is to extend do_diff_summarize()
to support repos<->wc diffs, and then use it. It's a better way because
that would be a very useful API for clients like Subclipse and Tortoise.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-26 00:59:20 CEST

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