Nevermind I will go for the SVNDiffClient class instead.
Cheers
Jean-Claude Antonio a écrit :
> Hello,
>
> I am trying to use the SVNRepository.diff method with the
> ISVNReporterBaton interface.
> I tried,
>
> SVNURL url1 =
> SVNURL.parseURIDecoded("
http://localhost/svn/repo/EComProject/work/.voila/wiki/main.html");
>
> ISVNReporterBaton baton = new ISVNReporterBaton(){
> public void report(ISVNReporter reporter) throws
> SVNException {
> //System.out.println(reporter.toString());
> }};
> repo.diff(url1, 2635,2637, null, true, false, true, baton, null);
>
> and I get the error
>
> Exception in thread "main" org.tmatesoft.svn.core.SVNException: svn:
> Invalid report for top level of working copy
> svn: REPORT of '/svn/repo/!svn/vcc/default': 500 Internal Server Error
> (
http://localhost)
> at
> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:49)
>
> at
> org.tmatesoft.svn.core.internal.io.dav.DAVRepository.diff(DAVRepository.java:668)
>
> at
> com.alineo.svn.core.DiffClientTest.testDiffFiles(DiffClientTest.java:63)
> at com.alineo.svn.core.DiffClientTest.main(DiffClientTest.java:83)
>
> Cheers
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
svnkit-users-unsubscribe@...
> For additional commands, e-mail:
svnkit-users-help@...
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
svnkit-users-unsubscribe@...
For additional commands, e-mail:
svnkit-users-help@...