Hello,

> '/repos/asf/!svn/bc/1182760/axis/axis2/java/core/trunk/modules/kernel': 500
> Internal Server Error (http://svn.apache.org)
> I used the same sample some days ago and it worked fine. So I might say that
> server version is >1.1.

Sometimes apache ASF server is down and also it is known for blocking
IPs from which there are too many requests coming. Could you access
ASF repository with the command line svn client?

Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
http://hg4j.com/ - Java Mercurial Library!
http://sqljet.com/ - Java SQLite Library!



On 13 October 2011 14:41, vligu <[email protected]> wrote:
>
> Hello,
>
> I am facing issues with getFileRevisions() method of low level API. To be
> more specific here is a simple example I am using:
>
> ...
>
> String url = "dirA/myFile.txt";
> long revision = repo.getLatestRevision();
>
> // this works fine, file contents for latest revision are printed out
> repo.getFile(url, revision, null, System.out);
>
> // this doesn't work, it produces an SVNException.
> repo.getFileRevisions(url, null, 0, revision);
>
> The exception output is:
>
> Exception in thread "main" org.tmatesoft.svn.core.SVNException: svn:
> '/axis/axis2/java/core/trunk/modules/kernel/axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/OutInAxisOperation.java'
> is not a file in revision 1182760
> svn: REPORT of
> '/repos/asf/!svn/bc/1182760/axis/axis2/java/core/trunk/modules/kernel': 500
> Internal Server Error (http://svn.apache.org)
>        at
> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
>        at
> org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
>        at
> org.tmatesoft.svn.core.internal.io.dav.DAVRepository.getFileRevisionsImpl(DAVRepository.java:902)
>        at
> org.tmatesoft.svn.core.io.SVNRepository.getFileRevisions(SVNRepository.java:756)
>        at
> org.tmatesoft.svn.core.io.SVNRepository.getFileRevisions(SVNRepository.java:702)
>        at
> org.tmatesoft.svn.core.io.SVNRepository.getFileRevisions(SVNRepository.java:1230)
>        at com.elit.cvs.connector.subversion.Test.main(Test.java:68)
> Java Result: 1
>
> I used the same sample some days ago and it worked fine. So I might say that
> server version is >1.1.
> I can't understand where the problem is. Do they downgrade the server at
> svn.apache.org???
> --
> View this message in context: 
> http://old.nabble.com/SVNRepository.getFileRevisions%28%29-working-problems%21%21%21-tp32644254p32644254.html
> Sent from the SVNKit - Users mailing list archive at Nabble.com.
>
>
>

Reply via email to