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

Re: svn commit: r953695 - /subversion/trunk/subversion/libsvn_wc/wc_db.c

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 14 Jun 2010 10:39:44 +0100

Greg Stein <gstein_at_gmail.com> writes:

> Is it possible to get an absent WORKING_NODE with 'svn cp URL WC' ? It
> seems that we would want an absent node so that the client cannot
> attempt to add/copy/move a node to that name.

It might, but that would be a copy bug. svn_wc__db_read_info asserts
that status!=absent for the working node.

Copying an absent node is explicitly disallowed in the the wc-to-wc
code because there is no way to commit such a copy. (My original plan
was to represent the copied node as not-present so that it got deleted
on commit, but the commit fails early when the parent is copied.)

-- 
Philip
Received on 2010-06-14 11:40:28 CEST

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