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

Re: [Subclipse-dev] ISVNClientAdapter limitations (getCopy, doExport)

From: Mark Phippard <markphip_at_gmail.com>
Date: 2006-11-30 16:57:02 CET

Cain, Tom wrote:
> Thanks for the feedback.
>
> The copy(url, url) method seems to work fine. I can validate the
> revision graph using TortoiseSVN.
>
> The scenario I'm testing is exactly as described in the first message.
> I'm first doing a copy(srcUrl, destUrl), then at a later point in
> time, I'm getting the ISVNInfo for destUrl, and checking the
> getCopyUrl() against a srcUrl. The getCopyUrl() returns null. I also
> tried getting the ISVNInfo given the File, but I still get null. I
> also tried getting the ISVNStatus (for the SVNUrl as well as the
> File), and checking the getUrlCopiedFrom() method, but I still get null.
>
> However, I just checked and JavaSVN seems to be returning null as well
> (from both the SVNStatus.getCopyUrl() and SVNInfo.getCopyUrl()).
> Perhaps I should instead log a bug against JavaSVN.
>
svnClientAdapter is not doing a lot here. The only way we could have a
bug would be if we had some mistake in the code where we did not set the
right private variable or something. JavaHL or JavaSVN does all the
work and svnClientAdapter is just a layer of indirection so that you do
not have a direct dependency on a specific adapter.

Have you tried the command like svn info to see if it shows anything?
Have you tried JavaHL? I would try these before focusing on JavaSVN as
the problem.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: dev-help@subclipse.tigris.org
Received on Thu Nov 30 16:57:11 2006

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