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

The revision of a specific branch(within another branch) within SVN - Using SVNKit

I am trying to get the latest revision from a folder within a branch on svn. The problem is when I do repository.getLatestRevision(); //with url of the folder: /svn/home/test/foldertest/scripts I do not get the correct revision of the folder, but…
mokko211
  • 597
  • 2
  • 9
  • 25
0
votes
1 answer

Why does this instance of getFile work with SVNKit?

I'm trying to get a method that I wrote/adapted from the documentation from the SVNKit documentation working but to no avail. I'm trying to print out the contents of a file if it matches a particular revision. The problem is that I'm not sure how to…
thomascirca
  • 893
  • 4
  • 14
  • 30
-1
votes
1 answer

svn: E200030: Commit failed

When I developed with svnkit 1.8.12 and excuted the svnupload method,sometimes there appears such questions : svn: E200030: Commit failed (details follow): svn: E200030: Insert fails: unique index sqlite_autoindex_PRISTINE_1. And my local…
hellolyz
  • 1
  • 1
-1
votes
1 answer

how to export a svn repository as zip file in svnkit?

I am trying to export whole repository in zip format .I am not able to find anything related to exporting a folder or repository in svnkit.
WorkaroundNewbie
  • 1,063
  • 9
  • 16
-1
votes
1 answer

How to get name of the files present in a SVN repository?

My task is to list all the files present in a SVN directory for a given url. DAVRepositoryFactory.setup(); Collection entries = repository.getDir(path, -1, null, (Collection)null); Iterator iterator = entries.iterator(); …
-1
votes
1 answer

Subversive Connector Discovery is not opening in Eclipse Kepler

Subversive Connector Discovery is not opening in Eclipse Kepler 64 (Ubuntu 13.04 64). So, I've installed SVNKit 1.7.9 + JNA Library 3.4.0 connector from directly http://eclipse.svnkit.com/1.7.x, but the connector is not appearing in Window >>…
Tony F.
  • 13
  • 1
  • 5
-3
votes
1 answer

Using SVN kit Not able to add the file to repository and the below code is throwing java.lang.NullPointerException

I am not able to add any file in the repository using editor, it is throwing a java.lang.NullPointerException exception at line editor.addFile(textfile, null, -1); try { url = "https://XXX.yyy.zzzz"; SVNRepository repository = null; …
1 2 3
20
21