Hello Thomas,

SVNRepository API level does not have a notion of a peg revision, one
always have to specify exact path and revision when calling
SVNRepoistory methods.

Could you please share a code you use for reporter as well as debug
log (see http://wiki.svnkit.com/Troubleshooting for details on how to
get  it).

I've tried to reproduce the problem locally (with a directory being
copied and calling a 'status' on a file within a copy, reporting this
very directory and missing file within it), but so far didn't manage
to reproduce it.

Thanks!

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



On 20 September 2011 01:48, Thomas Mauch <[email protected]> wrote:
>
> 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