public void run() throws SVNException { SVNAdminClient client = getEnvironment().getClientManager().getAdminClient(); List targets = getEnvironment().combineTargets(null, false); if (!targets.isEmpty()) { targets.remove(0); } String[] transactions = (String[]) targets.toArray(new String[targets.size()]); client.setEventHandler(this); client.doRemoveTransactions(getLocalRepository(), transactions); }
public void run() throws SVNException { SVNAdminClient client = getEnvironment().getClientManager().getAdminClient(); client.setEventHandler(this); client.doRecover(getLocalRepository()); getEnvironment().getOut().println(); getEnvironment().getOut().println("Recovery completed."); long youngestRevision = client.getYoungestRevision(getLocalRepository()); String message = "The latest repos revision is {0}."; message = MessageFormat.format(message, new Object[] { String.valueOf(youngestRevision) }); getEnvironment().getOut().println(message); }
public void run() throws SVNException { SVNAdminClient client = getEnvironment().getClientManager().getAdminClient(); client.setEventHandler(this); client.doPack(getLocalRepository()); }
public void run() throws SVNException { SVNAdminClient client = getEnvironment().getClientManager().getAdminClient(); client.setEventHandler(this); client.doListTransactions(getLocalRepository()); }
public void run() throws SVNException { SVNAdminClient client = getEnvironment().getClientManager().getAdminClient(); client.setEventHandler(this); client.doListTransactions(getLocalRepository()); }
@Override protected Long run() throws SVNException { SVNAdminClient ac = new SVNAdminClient(getOperation().getAuthenticationManager(), getOperation().getOptions()); ac.setEventHandler(this); ac.doInfo(getOperation().getToUrl()); return 1l; } }
@Override protected SVNAdminEvent run() throws SVNException { SVNAdminClient ac = new SVNAdminClient(getOperation().getAuthenticationManager(), getOperation().getOptions()); ac.setEventHandler(this); ac.doPack(getOperation().getRepositoryRoot()); return getOperation().first(); }
@Override protected Long run() throws SVNException { SVNAdminClient ac = new SVNAdminClient(getOperation().getAuthenticationManager(), getOperation().getOptions()); ac.setEventHandler(this); ac.doSetUUID(getOperation().getRepositoryRoot(), getOperation().getUUID()); return 1l; } }
@Override protected SVNAdminEvent run() throws SVNException { SVNAdminClient ac = new SVNAdminClient(getOperation().getAuthenticationManager(), getOperation().getOptions()); ac.setEventHandler(this); ac.doSynchronize(getOperation().getToURL()); return getOperation().first(); }
@Override protected SVNAdminEvent run() throws SVNException { SVNAdminClient ac = new SVNAdminClient(getOperation().getAuthenticationManager(), getOperation().getOptions()); ac.setEventHandler(this); ac.doRecover(getOperation().getRepositoryRoot()); return getOperation().first(); }
@Override protected Long run() throws SVNException { SVNAdminClient ac = new SVNAdminClient(getOperation().getAuthenticationManager(), getOperation().getOptions()); ac.setEventHandler(this); ac.doHotCopy(getOperation().getSrcRepositoryRoot(), getOperation().getNewRepositoryRoot()); return 1l; }
@Override protected SVNAdminEvent run() throws SVNException { SVNAdminClient ac = new SVNAdminClient(getOperation().getAuthenticationManager(), getOperation().getOptions()); ac.setEventHandler(this); ac.doUpgrade(getOperation().getRepositoryRoot()); return getOperation().first(); }
@Override protected SVNAdminEvent run() throws SVNException { SVNAdminClient ac = new SVNAdminClient(getOperation().getAuthenticationManager(), getOperation().getOptions()); ac.setEventHandler(this); ac.doListTransactions(getOperation().getRepositoryRoot()); return getOperation().first(); }
@Override protected SVNAdminEvent run() throws SVNException { SVNAdminClient ac = new SVNAdminClient(getOperation().getAuthenticationManager(), getOperation().getOptions()); ac.setEventHandler(this); ac.doListLocks(getOperation().getRepositoryRoot()); return getOperation().first(); }
@Override protected SVNAdminEvent run() throws SVNException { SVNAdminClient ac = new SVNAdminClient(getOperation().getAuthenticationManager(), getOperation().getOptions()); ac.setEventHandler(this); ac.doRemoveLocks(getOperation().getRepositoryRoot(), getOperation().getPaths()); return getOperation().first(); }
@Override protected SVNAdminEvent run() throws SVNException { SVNAdminClient ac = new SVNAdminClient(getOperation().getAuthenticationManager(), getOperation().getOptions()); ac.setEventHandler(this); ac.doRemoveTransactions(getOperation().getRepositoryRoot(), getOperation().getTransactions()); return getOperation().first(); }
@Override protected SVNAdminEvent run() throws SVNException { SVNAdminClient ac = new SVNAdminClient(getOperation().getAuthenticationManager(), getOperation().getOptions()); ac.setEventHandler(this); ac.doInitialize(getOperation().getFromURL(), getOperation().getToURL()); return getOperation().first(); }
@Override protected SVNAdminEvent run() throws SVNException { SVNAdminClient ac = new SVNAdminClient(getOperation().getAuthenticationManager(), getOperation().getOptions()); ac.setEventHandler(this); ac.doCopyRevisionProperties(getOperation().getToURL(), getOperation().getStartRevision(), getOperation().getEndRevision()); return getOperation().first(); }
@Override protected SVNAdminEvent run() throws SVNException { SVNAdminClient ac = new SVNAdminClient(getOperation().getAuthenticationManager(), getOperation().getOptions()); ac.setEventHandler(this); ac.doVerify(getOperation().getRepositoryRoot(), getOperation().getStartRevision(), getOperation().getEndRevision()); return getOperation().first(); }
@Override protected SVNAdminEvent run() throws SVNException { SVNAdminClient ac = new SVNAdminClient(getOperation().getAuthenticationManager(), getOperation().getOptions()); ac.setEventHandler(this); ac.doDump(getOperation().getRepositoryRoot(), getOperation().getOut(), getOperation().getStartRevision(), getOperation().getEndRevision(), getOperation().isIncremental(), getOperation().isUseDelta()); return getOperation().first(); }