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

Re: wc-ng base/working nodes in a copied tree

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 22 Mar 2010 21:59:51 +0000

Greg Stein <gstein_at_gmail.com> writes:

> The tree at copied-here should only have WORKING nodes. No BASE nodes.
>
> If it has BASE nodes, then that is a bug.
>
> The tree is distinguished as a copy because of the copyfrom_*
> information at the operation root. All the children have empty
> copyfrom_* data. If you make a second copy into that tree, then that
> new subtree will have copyfrom_* at its root.

My question was about an add rather than a second copy. Consider

   $ svn cp $url/A wc
   $ svn add wc/A/Y

Suppose $url/A contains $url/A/X. How do I distinguish between a
copied child, like wc/A/X, and an added node like wc/A/Y? Neither has
copyfrom set. How do I know that A/X inherits from it's parent A
while A/Y does not?

-- 
Philip
Received on 2010-03-22 23:00:27 CET

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