[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: David Glasser <glasser_at_mit.edu>
Date: 2007-05-31 16:36:43 CEST

On 5/30/07, Kamesh Jayachandran <kamesh@collab.net> wrote:
> 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'

Are you sure you were not just lucky that the hash iteration happened
in the order that gave you the correct result?

--dave

-- 
David Glasser | glasser_at_mit.edu | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 31 16:36:57 2007

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