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

Reply via email to