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

Re: [PATCH] wc-ng: remove a use of svn_wc_entry_t from libsvn_client

From: Matthew Bentham <mjb67_at_artvps.com>
Date: Tue, 16 Feb 2010 11:02:41 +0000

Philip Martin wrote:
> lock_tests.py 13 is failing:

Darn, I thought I had fixed that problem :-) But I now realise I was
confused between "lock_tests.py" and "locks-test.exe" (the latter
doesn't even test libsvn_client). A complete 'make check' is impossible
  for me on cygwin, it takes about 4hrs to get to 'merge_tests.py
[54/75]' and that never seems to complete (I left it running over night
but no luck so far).

> I think the problem is that svn_wc__node_get_url doesn't work for
> deleted nodes, it certainly has no code to scan the working tree for
> deletions.

Hmm, I'm not sure, it looks to me like svn_wc__maybe_get_entry should
have returned NULL for deleted nodes too, because although it will find
them, the 'show_hidden' parameter is false, and svn_wc__entry_is_hidden
is true when entry->deleted.

I'll continue looking in to the code to see what I should be doing here.
  If anyone has any instinct as to whether I should be extending the
behaviour of the 'wc__node_get_*' routines, or whether I'm just using
the wrong APIs, I'd appreciate the help.

Received on 2010-02-16 12:03:16 CET

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