Hello, Deletion code looks fine. What code do you use to get a log message? When requesting history, some of the messages may not be reported for the changes in files and directories to which requesting user has no read access.
I.e. you may request log anonymously (server would not ask you for a password), but anonymous user may have no read access to some of the subdirectories. Revisions in which these subdirectories were changed would be reported, but without details like author of the change or log message. Alexander Kitaev, TMate Software, http://subgit.com/ - Svn to Git Migration! http://svnkit.com/ - Java [Sub]Versioning Library! http://hg4j.com/ - Java Mercurial Library! http://sqljet.com/ - Java SQLite Library! On 8 September 2012 07:46, wayne wang <otakux...@gmail.com> wrote: > I'm new to svnkit. > > I got a method from the svnkit wiki as below > > private static SVNCommitInfo deleteDir( ISVNEditor editor , String dirPath ) > throws SVNException { > editor.openRoot( -1 ); > > editor.deleteEntry( dirPath , -1 ); > > //Closes the root directory. > editor.closeDir( ); > > return editor.closeEdit( ); > } > > the problem is when I try to delete a dir from the subversion > repository,thte Subversion server can't get the logmessage. > > I give the message when I create the editor instance as below > > ISVNEditor editor = repository.getCommitEditor(commitLog , null ); > > Am I do something wrong? > > Thanks