I found the reply below which is similar to what I want but still unclear. Below it shows how to check in but I am still not sure how to establish a connection. I probably have to sprcify username or password. Could you give me information about the same .please
http://old.nabble.com/svnkit-checkin-td29272482.html Hello, If you have a working copy with local modifications at certain path, then the following code will make a commit: DAVRepositoryFactory.setup(); SVNRepositoryFactoryImpl.setup(); FSRepositoryFactory.setup(); SVNCommitClient committer = SVNClientManager.newInstance().getCommitClient(); committer.doCommit(new File[] {path}, false, "message", null, null, false, false, SVNDepth.INFINITY); Alexander Kitaev, TMate Software, http://svnkit.com/ - Java [Sub]Versioning Library! http://sqljet.com/ - Java SQLite Library! On 27-Jul-10 04:30, Cody Zhang wrote: > Hi,All > Everybody can help me? I want checkin code of the > path(d:\workspace\svntemp\* ) with svnkit. > Can you send example code to me? > Best Regards, > --Cody.Zhang Tabb wrote: > > > I am trying to do a check in using SVNKit API and not able to find enough > resources or sample code the same. > I tried using ISVNEditor but it gives me an error as I do not have access > to root folder of SVN. I have access to sub folders. I want to be able to > check in my file directly to the sub folder using some API > > Could someone give me sample code to do the same or some reference to > tutorial. > New to SVNKit so I am sort of confused. > > Thanks > -- View this message in context: http://old.nabble.com/SVN-check-in-tp32904020p32904248.html Sent from the SVNKit - Users mailing list archive at Nabble.com.
