Hi guys,
Let me anticipate that I am quite new, but I am having harsh time in
managing a previously checked out (not with svnkit but with the simple svn
command in the terminal) working copy from an svn repository.
The problem relies in the fact the SVNWCUtils.isVersionedDirectory doesn't
recognize the dir to be under a revision control (the shell svn commands
works just fine).
I tried to check out the same directory from the svn repository and perform
the same isVersionedDirectory check and it passes it.
Am I forgetting any initialization maybe?
here's the code
<code>
....
private SVNClientManager client;
private ISVNOptions options;
ISVNAuthenticationManager auth;
static {
DAVRepositoryFactory.setup();
// for svn (over svn and svn+ssh)
SVNRepositoryFactoryImpl.setup();
}
...
{
....
options = SVNWCUtil.createDefaultOptions(true);
auth = SVNWCUtil.createDefaultAuthenticationManager();
client = SVNClientManager.newInstance(options, auth);
}
...
public void checkout(File node) throws VCSException {
File dstPath = new File("/Users/Enrico/SVNTest");
File wc = new File("/Users/Enrico/work/trunk");
System.out.println(SVNWCUtil.isVersionedDirectory(dstPath));
System.out.println(SVNWCUtil.isVersionedDirectory(wc));
SVNWCUtil.
}
dstPath is the directory checked out with svnkit, wc is the pre-existing
dir. As a result I get: True and False.
Thx for your help
Enrico
--
View this message in context:
http://old.nabble.com/Dir-is-not-in-revision-control-tp32690366p32690366.html
Sent from the SVNKit - Users mailing list archive at Nabble.com.