I am not sure if error code SVN_ERR_BAD_RELATIVE_PATH is correct
here, but seems reasonable.
[[[
Raise an error in log.c when given paths that are not in the WC, rather
than letting the code segfault. (Absolute paths in /tmp seem to be
coming from merge operations). Callers of loggy_path() are not prepared
to handle a NULL return anyway. Even though this stuff is going away,
it is crashing midway through the javahl tests. With this change,
the javahl tests complete, getting 1 error and 2 failures.
* subversion/libsvn_wc/log.c
(loggy_path): return svn_error if path is not a child of
adm_abspath
]]]
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2396145
Received on 2009-09-17 20:44:09 CEST