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

Re: Cannot copy -rBASE in WC ?

From: John Szakmeister <john_at_szakmeister.net>
Date: 2003-12-15 02:24:28 CET

On Sunday 14 December 2003 19:41, Francois Beausoleil wrote:
> No, I didn't want to revert. I *really* wanted a copy of the file,
> before local modifications. As I said, I ended up using HEAD, which
> contacted the repository. Had BASE worked, the repository would not have
> been contacted, if I understand BASE correctly.

Looks like you found a bug. The problem is that the logic in
svn_client_copy() is converting the src path to a URL to contact the
repository if you aren't making a copy of WORKING. The problem is two-fold.
First, it means that it will contact the repository to grab BASE. Second, it
will fail because BASE only makes sense when the source is a WC path. In the
process of converting to a URL, there was no check to see if it was BASE, or
PREV and so the copy will fail.

I'll see if I can generate a patch for this over the next couple of days.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Dec 15 02:20:00 2003

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

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