Hello David, What version of SVNKit do you use? What paths do you pass to the doCommit method?
You should not pass a path to the .svn directory (like 'D:/project/.svn'), but either to the working copy root (i.e. 'D:/project') and use SVNDepth.INFINITY for depth parameter, or to the individual files that has been changed. Alexander Kitaev, TMate Software, http://subgit.com/ - Svn to Git Migration! http://svnkit.com/ - Java [Sub]Versioning Library! http://hg4j.com/ - Java Mercurial Library! http://sqljet.com/ - Java SQLite Library! On 15 December 2011 19:35, Scassa, David <[email protected]> wrote: > bump > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of Tabb > Sent: Thursday, December 15, 2011 12:14 PM > To: [email protected] > Subject: doCommit > > > First I am doing a check out using following command > updateClient.doCheckout(SVNURL.parseURIDecoded(SVNURLString), f, > SVNRevision.UNDEFINED , SVNRevision.HEAD, true); > > After that I make changes and try to commit using > > SVNCommitClient committer = ourClientManager.getCommitClient(); > committer.doCommit(commonPropFileArray,false,null, false,true); > > I get an error saying D:\Projects\.svn' is not a working copy > > There is a .svn file in Projects and I did try to check out a couple of > times but I still get the same error. > Any idea how can I resolve this issue. > It is really urgent and I am a newbie to SVNKit > Can someone please help me troubleshoot this issue. > > Thanks > > -- > View this message in context: > http://old.nabble.com/doCommit-tp32982966p32982966.html > Sent from the SVNKit - Users mailing list archive at Nabble.com. > > >
