protected void throwException(SVNException e) throws ClientException { JavaHLObjectFactory.throwException(e, this); }
protected void throwException(SVNException e) throws ClientException { JavaHLObjectFactory.throwException(e, this); }
protected void throwException(SVNException e) throws ClientException { JavaHLObjectFactory.throwException(e, this); }
protected void throwException(SVNException e) throws ClientException { JavaHLObjectFactory.throwException(e, this); }
/** * set the log message of a revision * * @param path the path to the repository * @param rev the revision to be changed * @param message the message to be set * @param bypassHooks if to bypass all repository hooks * @throws ClientException throw in case of problem * @deprecated Use setRevProp() instead. */ public void setLog(String path, Revision rev, String message, boolean bypassHooks) throws ClientException { try { setRevisionProperty(path, rev, SVNRevisionProperty.LOG, message, bypassHooks, bypassHooks); } catch (SVNException e) { JavaHLObjectFactory.throwException(e, myDelegate); } }
/** * set the log message of a revision * * @param path the path to the repository * @param rev the revision to be changed * @param message the message to be set * @param bypassHooks if to bypass all repository hooks * @throws ClientException throw in case of problem * @deprecated Use setRevProp() instead. */ public void setLog(String path, Revision rev, String message, boolean bypassHooks) throws ClientException { try { setRevisionProperty(path, rev, SVNRevisionProperty.LOG, message, bypassHooks, bypassHooks); } catch (SVNException e) { JavaHLObjectFactory.throwException(e, myDelegate); } }
/** * make a hot copy of the repository * * @param path the path to the source repository * @param targetPath the path to the target repository * @param cleanLogs clean the unused log files in the source * repository * @throws ClientException throw in case of problem */ public void hotcopy(String path, String targetPath, boolean cleanLogs) throws ClientException { try { getAdminClient().doHotCopy(new File(path).getAbsoluteFile(), new File(targetPath).getAbsoluteFile()); } catch (SVNException e) { JavaHLObjectFactory.throwException(e, myDelegate); } }
/** * make a hot copy of the repository * * @param path the path to the source repository * @param targetPath the path to the target repository * @param cleanLogs clean the unused log files in the source * repository * @throws ClientException throw in case of problem */ public void hotcopy(String path, String targetPath, boolean cleanLogs) throws ClientException { try { getAdminClient().doHotCopy(new File(path).getAbsoluteFile(), new File(targetPath).getAbsoluteFile()); } catch (SVNException e) { JavaHLObjectFactory.throwException(e, myDelegate); } }
/** * make a hot copy of the repository * * @param path the path to the source repository * @param targetPath the path to the target repository * @param cleanLogs clean the unused log files in the source * repository * @throws ClientException throw in case of problem */ public void hotcopy(String path, String targetPath, boolean cleanLogs) throws ClientException { try { getAdminClient().doHotCopy(new File(path).getAbsoluteFile(), new File(targetPath).getAbsoluteFile()); } catch (SVNException e) { JavaHLObjectFactory.throwException(e, myDelegate); } }
/** * remove open transaction in a repository * * @param path the path to the repository * @param transactions the transactions to be removed * @throws ClientException throw in case of problem */ public void rmtxns(String path, String[] transactions) throws ClientException { try { getAdminClient().doRemoveTransactions(new File(path).getAbsoluteFile(), transactions); } catch (SVNException e) { JavaHLObjectFactory.throwException(e, myDelegate); } }
/** * remove open transaction in a repository * * @param path the path to the repository * @param transactions the transactions to be removed * @throws ClientException throw in case of problem */ public void rmtxns(String path, String[] transactions) throws ClientException { try { getAdminClient().doRemoveTransactions(new File(path).getAbsoluteFile(), transactions); } catch (SVNException e) { JavaHLObjectFactory.throwException(e, myDelegate); } }
/** * remove open transaction in a repository * * @param path the path to the repository * @param transactions the transactions to be removed * @throws ClientException throw in case of problem */ public void rmtxns(String path, String[] transactions) throws ClientException { try { getAdminClient().doRemoveTransactions(new File(path).getAbsoluteFile(), transactions); } catch (SVNException e) { JavaHLObjectFactory.throwException(e, myDelegate); } }
private void notImplementedYet(String message) throws ClientException { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.UNSUPPORTED_FEATURE, message == null ? "Requested SVNAdmin functionality is not yet implemented" : message); JavaHLObjectFactory.throwException(new SVNException(err), myDelegate); } }
private void notImplementedYet(String message) throws ClientException { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.UNSUPPORTED_FEATURE, message == null ? "Requested SVNAdmin functionality is not yet implemented" : message); JavaHLObjectFactory.throwException(new SVNException(err), myDelegate); } }
private void notImplementedYet(String message) throws ClientException { SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.UNSUPPORTED_FEATURE, message == null ? "Requested SVNAdmin functionality is not yet implemented" : message); JavaHLObjectFactory.throwException(new SVNException(err), myDelegate); } }
/** * recover the berkeley db of a repository, returns youngest revision * * @param path the path to the repository * @throws ClientException throw in case of problem */ public long recover(String path) throws ClientException { try { File repositoryRoot = new File(path).getAbsoluteFile(); getAdminClient().doRecover(repositoryRoot); return getAdminClient().getYoungestRevision(repositoryRoot); } catch (SVNException e) { JavaHLObjectFactory.throwException(e, myDelegate); } return -1; }
/** * recover the berkeley db of a repository, returns youngest revision * * @param path the path to the repository * @throws ClientException throw in case of problem */ public long recover(String path) throws ClientException { try { File repositoryRoot = new File(path).getAbsoluteFile(); getAdminClient().doRecover(repositoryRoot); return getAdminClient().getYoungestRevision(repositoryRoot); } catch (SVNException e) { JavaHLObjectFactory.throwException(e, myDelegate); } return -1; }
/** * recover the berkeley db of a repository, returns youngest revision * * @param path the path to the repository * @throws ClientException throw in case of problem */ public long recover(String path) throws ClientException { try { File repositoryRoot = new File(path).getAbsoluteFile(); getAdminClient().doRecover(repositoryRoot); return getAdminClient().getYoungestRevision(repositoryRoot); } catch (SVNException e) { JavaHLObjectFactory.throwException(e, myDelegate); } return -1; }
/** * remove multiple locks from the repository * * @param path the path to the repository * @param locks the name of the locked items * @throws ClientException throw in case of problem * @since 1.2 */ public void rmlocks(String path, String[] locks) throws ClientException { try { getAdminClient().doRemoveLocks(new File(path).getAbsoluteFile(), locks); } catch (SVNException e) { JavaHLObjectFactory.throwException(e, myDelegate); } finally { getAdminClient().setEventHandler(null); } }
/** * remove multiple locks from the repository * * @param path the path to the repository * @param locks the name of the locked items * @throws ClientException throw in case of problem * @since 1.2 */ public void rmlocks(String path, String[] locks) throws ClientException { try { getAdminClient().doRemoveLocks(new File(path).getAbsoluteFile(), locks); } catch (SVNException e) { JavaHLObjectFactory.throwException(e, myDelegate); } finally { getAdminClient().setEventHandler(null); } }