Hi Alexander,

thanks for your support.
The native version I use is 1.6.16 so it shouldn't be the problem.
But thanks to you I noticed a "weird" structure in the entries files.
The existing working copy does not present an xml structure, the checked out
version does.

At least now I know what is the main issue now!




Hello Enrico,

What version of the native Subversion client do you use? It might be
that you've encountered compatibility issue - latest stable version of
SVNKit does not yet support working copy format produced by Subversion
1.7.0.

Otherwise your code looks fine. SVNWCUtil.isVersionedDirectory method
basically checks for '.svn' child directory presence and whether
'.svn/entries' file within it is valid. By default  '.svn' directory
is not shown by 'ls' command or by a UI tools, so you may miss it
while it is there.

You may also use SVNWCClient.doInfo(...) call - it will not only let
you know whether file or directory is under version control, but also
will report some useful information about it in SVNInfo object.

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

-- 
View this message in context: 
http://old.nabble.com/Dir-is-not-in-revision-control-tp32690366p32694952.html
Sent from the SVNKit - Users mailing list archive at Nabble.com.


Reply via email to