[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-30 15:24:14 CEST

Hi David,

> $ 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.

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'

>
> Perhaps we should just expose svn_fs_closest_copy over RA instead of
> reimplementing its logic in libsvn_client?
>
Yes.

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 Wed May 30 15:23:59 2007

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