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

RE: svn_ra_stat

From: William Ferguson <william.ferguson_at_hubbub.com.au>
Date: 2005-09-09 08:33:21 CEST

Here's an update - it still fails on SVN 1.2.3
Also, my trusty lackey (who shall remian nameless) now tells me its actually
Test 27 of the Commit testSuite in which we first noticed this. But the
recipe for failure is pretty simple in any case.

-----Original Message-----
From: William Ferguson
Sent: Friday, 9 September 2005 3:15 PM
To: 'users@subversion.tigris.org'
Subject: svn_ra_stat

Hi all,

I seem to be having a problem with the svn_ra_stat function in SVN 1.2.1

Heres the recipe:
1) I have a File '/A/someFile.txt' that has been committed to the
repository, at Revision 1,
2) I execute svn_ra_stat(session, '/trunk/someFile.txt/someOtherFile.txt',
1, &entry, pool)

svn_ra_stat returns
stat_result#status=160016
stat_result#msg='Failure opening '/trunk/someFile.txt/someOtherFile.txt''
stat_result_childErr=406114928
stat_result#fileName=H:\brane\src\svn\rel\subversion-1.2.1\subversion\libsvn
_fs_fs\tree.c,
stat_result#lineNr=757

Ie svn_fs_fs__err_not_directory being thrown by #openPath in tree.c

I wouldn't have thought this was expected, is it?
I kind of expected svn_ra_stat to just return a NULL dirent*.

This is causing us failure on the SVN merge testsuite - test 20 "merge a
file whose name contains a space" in our SVN DAV Java Servlet.
Any help appreciated.

William

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 9 08:36:13 2005

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

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