Hello Christian,

Currently, according to SVNKit 1.7.x sources ignoreUnknownNodeTypes parameter 
is not used.
I've created an issue for that

http://issues.tmatesoft.com/issue/SVNKIT-361

For older SVNKit the parameter was used in the following way:

...
 else if (fileType != SVNFileType.DIRECTORY && fileType != SVNFileType.FILE) {
                if (ignoreUnknownNodeTypes) {
                    SVNEvent skippedEvent = 
SVNEventFactory.createSVNEvent(file, SVNNodeKind.NONE, null, 
SVNRepository.INVALID_REVISION, SVNEventAction.SKIP, 
SVNEventAction.COMMIT_ADDED, null, null);
                    handleEvent(skippedEvent, ISVNEventHandler.UNKNOWN);
                } else {
                    SVNErrorMessage err = 
SVNErrorMessage.create(SVNErrorCode.NODE_UNKNOWN_KIND, "Unknown or 
unversionable type for ''{0}''", file);
                    SVNErrorManager.error(err, SVNLogType.WC);
                }
...

So "ignore" means "don't throw an exception, generate an even instead" on 
importing a symlink.
--
Dmitry Pavlenko,
TMate Software,
http://subgit.com/ - git-svn bridge

> Hi everyone!
> 
> SVNKit's Javadocs specify for doImport()'s ignoreUnknownNodeTypes parameter
> 
> that:
> >>If ignoreUnknownNodeTypes is false, ignores files of which the node type
> 
> is unknown, such as device files and pipes.<< [1]
> 
> It strikes me as odd that ignoreUnknownNodeTypes = false (i.e. saying "do
> not ignore") should let SVNKit ignore unknown node types, whereas
> ignoreUnknownNodeTypes = true (i.e. saying "do ignore") should let it
> import such nodes.
> 
> Is the Javadoc correct?
> 
> Best regards,
> 
> Christian
> 
> 1)
> http://svnkit.com/javadoc/org/tmatesoft/svn/core/wc/SVNCommitClient.html#do
> Import%28java.io.File,%20org.tmatesoft.svn.core.SVNURL,%20java.lang.String,
> %20org.tmatesoft.svn.core.SVNProperties,%20boolean,%20boolean,%20org.tmates
> oft.svn.core.SVNDepth%29
> 
> 
> 
> --
> View this message in context:
> http://subversion.1072662.n5.nabble.com/Are-docs-on-doImport-s-ignoreUnkno
> wnNodeTypes-parameter-right-tp179060.html Sent from the SVNKit - Users
> mailing list archive at Nabble.com.

Reply via email to