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

Re: Improving support for copy and move

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-05-19 00:50:32 CEST

On 5/18/06, Paul Burba <paulb@softlanding.com> wrote:

> As I said, my patch is, at best, only a partial solution...tests 4 & 5
> still fail when attempting the last of the three moves. I don't want to
> proceed any further until some folks with more experience in this area
> weigh in. I'm just going in circles at this point :-(
>
> Please take a look, thanks,

I'm not a libsvn_wc guru, but I did take a look. The patch so far
seems pretty reasonable, but the reason it's not working at this point
is that svn_wc_get_ancestry is failing to return a copyfrom URL when
you move a file that's within a moved directory. It needs to get
smart enough to know that the file's inside a dir that's been moved,
so you have to go back to the previous location of the file to get its
source url. The error you end up seeing (about it not being in the
repository yet) is simply fallout because it can't find a source url,
and it knows that it should have one at that point).

I'll look more closely and see if I can figure out a way to fix this,
but no promises, libsvn_wc is very much not my preferred area to play
around in ;-)

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 19 00:51:01 2006

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