Questions tagged [svnkit]

SVNKit is a pure Java Subversion toolkit. SVNKit allows a Java developer to access Subversion features from within a Java application.

Subversion is an open source version control system, originally developed by CollabNet, Inc. and currently supported by the Apache Software Foundation.

SVNKit is a pure Java Subversion toolkit - it implements all Subversion features and provides APIs to work with Subversion working copies, access and manipulate Subversion repositories - everything within your Java application.

307 questions
0
votes
1 answer

Svn Authentication username, password and URL using Svn Kit

How to do authentication of a svn url with username and password without checking out the project Now I am calling the doCheckout() method to authenticate. I don't want to download to local starge. I just want to do authentication. My current…
BhajjiMaga
  • 97
  • 2
  • 10
0
votes
1 answer

Setting repository location on SVNKit's SvnGetStatus

I need to get the current revision of a local working copy. So far I've come up with this: (EDITED) private static long resolve(File workingDirectory) throws SVNException { SvnOperationFactory svnOpFactory = new SvnOperationFactory(); …
j0ntech
  • 1,158
  • 3
  • 13
  • 27
0
votes
1 answer

Run Git commands and parse log History from java Program

I am trying to write a java program that should analyse at runtime Log history information of any <> given Git Repository (grab authors, date, path of files, modifications and actions on these files such as Modify Add Delete etc...). But I'm…
stephane K
  • 21
  • 4
0
votes
1 answer

Is there a way using SVNKit to get the names of the changed methods?

Is there a way using SVNKit to get the names of the changed methods rather than the whole contents? Right now I can use SVNKit to get SVN log, but I want to get the changed methods in some SVN version. How can i do it?
0
votes
1 answer

SVNKIT=> SVNUpdateClient.doCheckout method - pegRevision?

I am using SVNKit to checkout svn base repository. Earlier I was using checkout to head for that purpose I was using SVNRevision.HEAD. It was working fine without issue. below is the syntax of same and revision.Head was used in case of checkout to…
Dev G
  • 1,387
  • 4
  • 26
  • 43
0
votes
2 answers

SVNKit: SVNException while commit a locked file

I want to commit a modified single file. According to http://wiki.svnkit.com/Committing_To_A_Repository I use the following code: public static SVNCommitInfo modifyFile(ISVNEditor editor, String dirPath, String filePath, InputStream is, long size)…
shylynx
  • 597
  • 1
  • 7
  • 25
0
votes
0 answers

Downloading project files with svnkit is extremely slow

I am a researcher who tries to monitor and study the evolution of projects. For this reason I use a client that uses svnkit to connect to remote respositories and download java projects in order to calculate metrics, perform analyses etc. The…
Theodore
  • 182
  • 16
0
votes
2 answers

SVNKIT commit file failed

I use SVNKIT checkout a folder .svn information use this if (!SVNUtil.isWorkingCopy(ws)) { updateClient.checkout(clientManager, repositoryURL, SVNRevision.HEAD,ws,SVNDepth.EMPTY); } then I use IO stream create a new file with the…
0
votes
1 answer

SVNkit 1.7.8 JAVA Basic stuff

Is there any webpage that holds basic programs, which are using Java SVN kit, that do simple stuff with svn like: co, info, update etc. I'm reading API, but I need just some simple stuff for beginning. Thanks!
user2762881
  • 79
  • 1
  • 1
  • 3
0
votes
1 answer

commit one server dir contents to other directory using svnkit

I want to commit one server directory contents (all versioned contents of versioned dir already present on server dir) to a new dir on same server using SVNKit (version 1.7). This new dir can be already present; or have to add/make it at…
adityag
  • 603
  • 3
  • 8
  • 24
0
votes
2 answers

SVNKit Alternative Documentation

I have scoured google for a while, but I have been unable to find a source for the javadoc for SVNKit (all I found was someone's year old github mirror of the SVNKit repository). Since the SVNKit website is down, does anyone know where I can either…
Luke Bearl
  • 56
  • 3
  • 7
0
votes
1 answer

Can't connect to SVN repository through SvnKit API

We have a SVN repository, and I am able to connect to it through Tortoise. But when I try to connect to it through SvnKit, specifically svnRepository.testConnection() method, it says svn: E170001: Authentication required for .... The credentials…
Raj
  • 71
  • 1
  • 10
0
votes
0 answers

SVN (with connector) doesn't work after/before installing Scala plugin eclipse

I installed Eclipse Indigo, then I installed SVN. After restarting I was asked to choose my SVN Connector (I choose SVNKit 1.7.10). At this point, everything is working. Then I installed the Groovy plugin, and everything is still working. Then I…
lukaszrys
  • 1,656
  • 4
  • 19
  • 33
0
votes
1 answer

SVNKit to find diff between two files stored at separate locations with separate revision numbers

I am writing a Java program using the SVNKit API, and I need to use the correct class or call in the API that would allow me to find the diff between files stored in separate locations. 1st…
Fardu
  • 17
  • 1
  • 4
0
votes
0 answers

eclipse antsvn export task fails

I’m creating the following build file, in order to retrieve my project from the SVN repository:
user1802439
  • 2,651
  • 3
  • 18
  • 21