Hyrum, SVNClient.info2() is failing to retrieve the full information
for a Java Info2 object when used in conjunction with a revision or
peg revision. The third call to info2() in BasicTests.testBasicInfo2()
will trigger this problem. Try it with the following patch, and
you'll see what I mean:
Index: InfoCallback.cpp
===================================================================
--- InfoCallback.cpp (revision 24488)
+++ InfoCallback.cpp (working copy)
@@ -135,6 +135,7 @@
SVN_ERR(svn_wc_entry(&entry, path, adm_access, FALSE, pool));
SVN_ERR(svn_wc_adm_close(adm_access));
+ printf("entry=0x%ld\n", entry);
if (!entry)
{
// We want to store a NULL in the resulting array, but we can't put a
entry=0x0
entry=0x0
entry=0x0
...
I'm going to commit the refactoring I was doing when I discovered this
problem, and make this part of the test XFAIL.
On a related note, the first time the callback is invoked, it's
building a path like ".../test-work/working_copies/basic_test3/basic_test3",
apparently due to SVNClient::info()'s invocation of InfoCallback::setWcPath().
- application/pgp-signature attachment: stored
Received on Sat Apr 7 01:36:25 2007