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

Re: some notes about svn_client__get_copy_source

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2007-05-31 12:49:53 CEST

>>> $ svn cp branches/foo branches/baz
>>> $ svn cp trunk/bar branches/baz/bar
>>>
>>> and adds within copies:
>>>
>>> $ svn cp branches/foo branches/baz
>>> $ svn mkdir branches/baz/bar
>>>
>>> (In neither of these cases should branches/foo be the copy source of
>>> branches/baz/bar; in the latter case, it has no copy source.)
>>>
>> No.
>>
>
> "No" what?
>
Sorry I thought David mentioned that 'get_copy_source' api would give
'/branches/foo/bar' to be the copy source of both the cases above. So I
said 'No'.
>
>> I verified in both the cases above our current 'get_copy_source' of
>> 'branches/baz/bar' does not return '/branches/foo/bar'.
>>
>> For mkdir case, It returns nothing.
>> For 'svn cp trunk/bar branches/baz/bar' case it returns 'trunk/bar'
>>
>
> So, we're working as expected?
>
Yes we are working as expected. The problem is only when we have
multiple ancestors in the same commit as the copy which merge-tests-53
deals with.

With regards
Kamesh Jayachandran

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 31 12:49:46 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.