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

Re: [BUG] svn info segfaults after svn cp on a restricted permission directory

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Wed, 28 Sep 2011 10:33:51 +0100

Philip Martin <philip.martin_at_wandisco.com> writes:

> $ sqlite3 wc/.svn/wc.db "select op_depth, local_relpath, presence, repos_id, repos_path from nodes"
> 0|A/B|absent|1|A/B
> 0|A|normal|1|A
> 0||normal|1|
> 1|X|normal|1|A
> 1|X/B|incomplete||

So following r1176797 that final row looks like:

1|X/B|incomplete|1|A/B

but libsvn_wc/info.c:build_info_for_node still crashes. The problem is
that svn_wc__db_read_info returns status==incomplete and code outside
wc_db.c has no easy way of telling whether the incomplete refers to a
BASE node or a WORKING node.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2011-09-28 11:34:29 CEST

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