~ubuntu-branches/debian/sid/subversion/sid

« back to all changes in this revision

Viewing changes to subversion/bindings/javahl/src/org/apache/subversion/javahl/SVNRepos.java

  • Committer: Package Import Robot
  • Author(s): James McCoy, Peter Samuelson, James McCoy
  • Date: 2014-01-12 19:48:33 UTC
  • mfrom: (0.2.10)
  • Revision ID: package-import@ubuntu.com-20140112194833-w3axfwksn296jn5x
Tags: 1.8.5-1
[ Peter Samuelson ]
* New upstream release.  (Closes: #725787) Rediff patches:
  - Remove apr-abi1 (applied upstream), rename apr-abi2 to apr-abi
  - Remove loosen-sqlite-version-check (shouldn't be needed)
  - Remove java-osgi-metadata (applied upstream)
  - svnmucc prompts for a changelog if none is provided. (Closes: #507430)
  - Remove fix-bdb-version-detection, upstream uses "apu-config --dbm-libs"
  - Remove ruby-test-wc (applied upstream)
  - Fix “svn diff -r N file” when file has svn:mime-type set.
    (Closes: #734163)
  - Support specifying an encoding for mod_dav_svn's environment in which
    hooks are run.  (Closes: #601544)
  - Fix ordering of “svnadmin dump” paths with certain APR versions.
    (Closes: #687291)
  - Provide a better error message when authentication fails with an
    svn+ssh:// URL.  (Closes: #273874)
  - Updated Polish translations.  (Closes: #690815)

[ James McCoy ]
* Remove all traces of libneon, replaced by libserf.
* patches/sqlite_3.8.x_workaround: Upstream fix for wc-queries-test test
  failurse.
* Run configure with --with-apache-libexecdir, which allows removing part of
  patches/rpath.
* Re-enable auth-test as upstream has fixed the problem of picking up
  libraries from the environment rather than the build tree.
  (Closes: #654172)
* Point LD_LIBRARY_PATH at the built auth libraries when running the svn
  command during the build.  (Closes: #678224)
* Add a NEWS entry describing how to configure mod_dav_svn to understand
  UTF-8.  (Closes: #566148)
* Remove ancient transitional package, libsvn-ruby.
* Enable compatibility with Sqlite3 versions back to Wheezy.
* Enable hardening flags.  (Closes: #734918)
* patches/build-fixes: Enable verbose build logs.
* Build against the default ruby version.  (Closes: #722393)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
import java.io.File;
30
30
 
31
31
import org.apache.subversion.javahl.callback.ReposNotifyCallback;
 
32
import org.apache.subversion.javahl.callback.ReposFreezeAction;
32
33
import org.apache.subversion.javahl.types.*;
33
34
 
34
35
/**
130
131
     * @throws ClientException  throw in case of problem
131
132
     */
132
133
    public native void hotcopy(File path, File targetPath,
133
 
                               boolean cleanLogs) throws ClientException;
 
134
                               boolean cleanLogs, boolean incremental)
 
135
            throws ClientException;
 
136
 
 
137
    public void hotcopy(File path, File targetPath,
 
138
                        boolean cleanLogs) throws ClientException
 
139
    {
 
140
        hotcopy(path, targetPath, cleanLogs, false);
 
141
    }
134
142
 
135
143
    /**
136
144
     * list all logfiles (BDB) in use or not)
150
158
    public native void listUnusedDBLogs(File path, ISVNRepos.MessageReceiver receiver)
151
159
            throws ClientException;
152
160
 
 
161
    public void load(File path, InputStream dataInput,
 
162
                     boolean ignoreUUID, boolean forceUUID,
 
163
                     boolean usePreCommitHook, boolean usePostCommitHook,
 
164
                     String relativePath, ReposNotifyCallback callback)
 
165
            throws ClientException
 
166
    {
 
167
        load(path, dataInput, Revision.START, Revision.HEAD,
 
168
             ignoreUUID, forceUUID, usePreCommitHook, usePostCommitHook,
 
169
             relativePath, callback);
 
170
    }
 
171
 
153
172
    public native void load(File path, InputStream dataInput,
 
173
                            Revision start, Revision end,
154
174
                            boolean ignoreUUID, boolean forceUUID,
155
175
                            boolean usePreCommitHook, boolean usePostCommitHook,
156
176
                            String relativePath, ReposNotifyCallback callback)
168
188
    public native long recover(File path, ReposNotifyCallback callback)
169
189
            throws ClientException;
170
190
 
 
191
    public native void freeze(ReposFreezeAction action, File... paths)
 
192
            throws ClientException;
 
193
 
171
194
    /**
172
195
     * remove open transaction in a repository
173
196
     * @param path              the path to the repository