Hi

I try to use the SVNRepository.status call to efficiently fetch property
information as described in
http://wiki.svnkit.com/SVNKit_FAQ#Q:_Recursive_repository_properties_fetch.2BAFw-list_operation_is_slow._Is_it_possible_to_make_it_work_faster.3F.

I however encounter in some directories a 404 error:

Exception in thread "main" java.lang.RuntimeException:
org.tmatesoft.svn.core.SVNException: svn: File not found: revision 36303,
path '/CR/gateway/dvl/idocs/create.bat'
svn: '/repo/!svn/vcc/default' path not found: 404 Not Found
(http://svn.abc.com)
        at eval.svnkit.EvalStatusProperties.main(EvalStatusProperties.java:118)
Caused by: org.tmatesoft.svn.core.SVNException: svn: File not found:
revision 36303, path '/CR/gateway/dvl/idocs/create.bat'
svn: '/repo/!svn/vcc/default' path not found: 404 Not Found
(http://svn.abc.com)
        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.runReport(DAVRepository.java:1263)
        at
org.tmatesoft.svn.core.internal.io.dav.DAVRepository.status(DAVRepository.java:803)
        at eval.svnkit.EvalStatusProperties.main(EvalStatusProperties.java:88)

I think there might be a relation to
http://old.nabble.com/404-using-getFile-with-specific-revision-td29335159.html
as the whole directory got copied in rev 36303 from another path.

So I can get these repository locations:
{ 
   { 
      long myRevision = 36302; 
      String myPath =
"/Projects/Software/prod/gateway/dvl/idocs/create.bat"; 
   }, 
   { 
      long myRevision = 36303; 
      String myPath = "/Projects/Software/CR/gateway/dvl/idocs/create.bat"; 
   } 
}

But with revision 36303 I'm already working with the peg revision, so things
should be fine.
Do you have any idea what could help?

Thanks,
Thomas

-- 
View this message in context: 
http://old.nabble.com/Error-404-if-calling-SVNRepository.status-tp32499339p32499339.html
Sent from the SVNKit - Users mailing list archive at Nabble.com.


Reply via email to