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

Neon 0.24 testing

From: Sergey A. Lipnevich <sergey_at_optimaltec.com>
Date: 2003-08-04 08:52:58 CEST

Hi All,

Could somebody please look at the following errors for basic_tests.py
#1? First of all, "old-style" (pre 0.24) callbacks, "startelm" and
"endelm" in props.c and fetch.c (I'm talking about libsvn_ra_dav)
sometimes return value 1, which is not defined by Neon interface. What
is defined is -1 (invalid XML) or -2 (decline element). If I treat
return 1 as error, I get test failure:

----
subversion/libsvn_ra_dav/props.c:580: (apr_err=20014)
svn: Error string not specified yet
svn: failed to find label "NULL" for url 
"/repositories/basic_tests-1/!svn/ver/1/A/mu"
=============================================================
Expected A and actual A are different!
=============================================================
EXPECTED NODE TO BE:
=============================================================
 * Node name:   A
    Path:       working_copies/basic_tests-1/A
    Contents:   None
    Properties: {}
    Attributes: {'status': 'A '}
    Children:   4
=============================================================
ACTUAL NODE FOUND:
=============================================================
 * Node name:   A
    Path:       working_copies/basic_tests-1/A
    Contents:   None
    Properties: {}
    Attributes: {'status': 'A '}
    Children: is a file.
Unequal Types: one Node is a file, the other is a directory
Unequal at node basic_tests-1
Unequal at node working_copies
EXCEPTION: SVNTreeUnequal
FAIL:  basic_tests.py 1: basic checkout of a wc
----
...but if I do not treat return 1 as error, I actually get a little 
farther, and get this error:
----
subversion/libsvn_wc/lock.c:513: (apr_err=155005)
svn: Working copy not locked
svn: directory not locked (working_copies/basic_tests-1/A/B)
=============================================================
Expected mu and actual mu are different!
=============================================================
EXPECTED NODE TO BE:
=============================================================
 * Node name:   mu
    Path:       working_copies/basic_tests-1/A/mu
    Contents:   None
    Properties: {}
    Attributes: {'status': 'A '}
    Children: is a file.
=============================================================
ACTUAL NODE FOUND:
=============================================================
 * Node name:   mu
    Path:       working_copies/basic_tests-1/A/mu
    Contents:   None
    Properties: {}
    Attributes: {}
    Children:   1
Unequal Types: one Node is a file, the other is a directory
Unequal at node A
Unequal at node basic_tests-1
Unequal at node working_copies
EXCEPTION: SVNTreeUnequal
FAIL:  basic_tests.py 1: basic checkout of a wc
----
My qyestion is, how should return 1 be treated? Also, if somebody could 
give me a hint with what that error might mean, I'd appreciate it. Thank 
you!
Sergey.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 4 08:53:55 2003

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