svnkit: Problem getting entry name

Posted by GreenKiwi on Stack Overflow See other posts from Stack Overflow or by GreenKiwi
Published on 2010-04-07T20:28:03Z Indexed on 2010/04/13 3:32 UTC
Read the original article Hit count: 371

Filed under:

I'm trying to create a SVN Eclipese EFS plugin and have problems when getting the names of entries.

When I make a call to: SVNRepository

`//Fetches the contents of a directory into the provided collection object and returns the directory entry itself.

SVNDirEntry getDir(String path, long revision, boolean includeCommitMessages, Collection entries)`

It correctly returns the entry for the provided path, however, it doesn't set the "name" value on the "returned" entry. Note, the items returned in the collection are all OK.

Does anyone know why this is? And/or if there is a workaround?

See: http://svnkit.com/javadoc/org/tmatesoft/svn/core/io/SVNRepository.html http://svnkit.com/javadoc/org/tmatesoft/svn/core/io/SVNRepository.html#getDir(java.lang.String, long, boolean, java.util.Collection)

© Stack Overflow or respective owner

Related posts about svnkit