[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

about SVNKit

From: HuiHuang <yellow.flying_at_yahoo.com.cn>
Date: Sat, 23 May 2009 15:53:17 +0800

Hi Mark,

About issue 2381-"Cannot commit multiple WC paths which lack a common parent
directory", you say that SVNKit has solved this problem.

The following is from http://subversion.tigris.org/issues/show_bug.cgi?id=2381.
 
"Suggested change:
The JavaSVN/SVNKit library added support for this. In their case, we just have
to give them all the paths, and they break it up into one commit per repository.
 I would be happy doing this break up in Subclipse, if I could just get the
single commit to work when they are all in the same repository."

Today I checkout SVNKit code and test it's commit command, but I find that
they do not solve this problem.

command line is:
ci E:\svn_repository\checkoutCode\defensesrc\add E:\svn_repository\checkoutCode\defensewebroot\add
where ci is commit command, defensesrc and defensewebroot are two workingcopies
from the same repository.

The error is as follows:

2009-5-23 15:30:31 org.tmatesoft.svn.core.internal.util.DefaultSVNDebugLogger log
严重: CLI: svn: 'E:\svn_repository\checkoutCode' is not a working copy
org.tmatesoft.svn.core.SVNException: svn: 'E:\svn_repository\checkoutCode' is not a working copy
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
at org.tmatesoft.svn.core.internal.wc.admin.SVNAdminAreaFactory.open(SVNAdminAreaFactory.java:163)
at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.doOpen(SVNWCAccess.java:364)
at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:272)
at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:265)
at org.tmatesoft.svn.core.internal.wc.admin.SVNWCAccess.open(SVNWCAccess.java:261)
at org.tmatesoft.svn.core.internal.wc.SVNCommitUtil.createCommitWCAccess(SVNCommitUtil.java:247)
at org.tmatesoft.svn.core.wc.SVNCommitClient.doCollectCommitItems(SVNCommitClient.java:1186)
at org.tmatesoft.svn.core.wc.SVNCommitClient.doCommit(SVNCommitClient.java:821)
at org.tmatesoft.svn.cli.svn.SVNCommitCommand.run(SVNCommitCommand.java:99)
at org.tmatesoft.svn.cli.AbstractSVNCommandEnvironment.run(AbstractSVNCommandEnvironment.java:134)
at org.tmatesoft.svn.cli.AbstractSVNLauncher.run(AbstractSVNLauncher.java:81)
at org.tmatesoft.svn.cli.svn.SVN.main(SVN.java:26)
at org.tmatesoft.svn.cli.SVN.main(SVN.java:22)
svn: 'svn_repository\checkoutCode' is not a working copy

So maybe it is not SVNKit in which the issue is solved, or do I miss something?
Hope to hear from you soon!

Best Regards~
Huihuang

2009-05-23

yellow.flying

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2353115
Received on 2009-05-23 09:53:51 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.