public PropertyData revProperty(String path, String name, Revision rev) throws ClientException { if(name == null || name.equals("")){ return null; } SVNWCClient client = getSVNWCClient(); SVNRevision svnRevision = JavaHLObjectFactory.getSVNRevision(rev); JavaHLPropertyHandler retriever = new JavaHLPropertyHandler(myOwner); try { if(isURL(path)){ client.doGetRevisionProperty(SVNURL.parseURIEncoded(path), name, svnRevision, retriever); }else{ client.doGetRevisionProperty(new File(path).getAbsoluteFile(), name, svnRevision, retriever); } } catch (SVNException e) { throwException(e); } return retriever.getPropertyData(); }
public PropertyData[] revProperties(String path, Revision rev) throws ClientException { if(path == null){ return null; } SVNWCClient client = getSVNWCClient(); SVNRevision svnRevision = JavaHLObjectFactory.getSVNRevision(rev); JavaHLPropertyHandler propHandler = new JavaHLPropertyHandler(myOwner); try { if(isURL(path)){ client.doGetRevisionProperty(SVNURL.parseURIEncoded(path), null, svnRevision, propHandler); }else{ client.doGetRevisionProperty(new File(path).getAbsoluteFile(), null, svnRevision, propHandler); } } catch (SVNException e) { throwException(e); } return propHandler.getAllPropertyData(); }
public PropertyData revProperty(String path, String name, Revision rev) throws ClientException { if (name == null || name.equals("")) { return null; } SVNWCClient client = getSVNWCClient(); SVNRevision svnRevision = JavaHLObjectFactory.getSVNRevision(rev); JavaHLPropertyHandler retriever = new JavaHLPropertyHandler(myOwner); try { if (isURL(path)) { client.doGetRevisionProperty(SVNURL.parseURIEncoded(path), name, svnRevision, retriever); } else { client.doGetRevisionProperty(new File(path).getAbsoluteFile(), name, svnRevision, retriever); } } catch (SVNException e) { throwException(e); } finally { resetLog(); } return retriever.getPropertyData(); }
public PropertyData revProperty(String path, String name, Revision rev) throws ClientException { if (name == null || name.equals("")) { return null; } SVNWCClient client = getSVNWCClient(); SVNRevision svnRevision = JavaHLObjectFactory.getSVNRevision(rev); JavaHLPropertyHandler retriever = new JavaHLPropertyHandler(myOwner); try { if (isURL(path)) { client.doGetRevisionProperty(SVNURL.parseURIEncoded(path), name, svnRevision, retriever); } else { client.doGetRevisionProperty(new File(path).getAbsoluteFile(), name, svnRevision, retriever); } } catch (SVNException e) { throwException(e); } finally { resetLog(); } return retriever.getPropertyData(); }
public PropertyData revProperty(String path, String name, Revision rev) throws ClientException { if (name == null || name.equals("")) { return null; } SVNWCClient client = getSVNWCClient(); SVNRevision svnRevision = JavaHLObjectFactory.getSVNRevision(rev); JavaHLPropertyHandler retriever = new JavaHLPropertyHandler(myOwner); try { if (isURL(path)) { client.doGetRevisionProperty(SVNURL.parseURIEncoded(path), name, svnRevision, retriever); } else { client.doGetRevisionProperty(new File(path).getAbsoluteFile(), name, svnRevision, retriever); } } catch (SVNException e) { throwException(e); } finally { resetLog(); } return retriever.getPropertyData(); }
public PropertyData[] revProperties(String path, Revision rev) throws ClientException { if (path == null) { return null; } SVNWCClient client = getSVNWCClient(); SVNRevision svnRevision = JavaHLObjectFactory.getSVNRevision(rev); JavaHLPropertyHandler propHandler = new JavaHLPropertyHandler(myOwner); try { if (isURL(path)) { client.doGetRevisionProperty(SVNURL.parseURIEncoded(path), null, svnRevision, propHandler); } else { client.doGetRevisionProperty(new File(path).getAbsoluteFile(), null, svnRevision, propHandler); } } catch (SVNException e) { throwException(e); } finally { resetLog(); } return propHandler.getAllPropertyData(); }
public PropertyData[] revProperties(String path, Revision rev) throws ClientException { if (path == null) { return null; } SVNWCClient client = getSVNWCClient(); SVNRevision svnRevision = JavaHLObjectFactory.getSVNRevision(rev); JavaHLPropertyHandler propHandler = new JavaHLPropertyHandler(myOwner); try { if (isURL(path)) { client.doGetRevisionProperty(SVNURL.parseURIEncoded(path), null, svnRevision, propHandler); } else { client.doGetRevisionProperty(new File(path).getAbsoluteFile(), null, svnRevision, propHandler); } } catch (SVNException e) { throwException(e); } finally { resetLog(); } return propHandler.getAllPropertyData(); }
public PropertyData[] revProperties(String path, Revision rev) throws ClientException { if (path == null) { return null; } SVNWCClient client = getSVNWCClient(); SVNRevision svnRevision = JavaHLObjectFactory.getSVNRevision(rev); JavaHLPropertyHandler propHandler = new JavaHLPropertyHandler(myOwner); try { if (isURL(path)) { client.doGetRevisionProperty(SVNURL.parseURIEncoded(path), null, svnRevision, propHandler); } else { client.doGetRevisionProperty(new File(path).getAbsoluteFile(), null, svnRevision, propHandler); } } catch (SVNException e) { throwException(e); } finally { resetLog(); } return propHandler.getAllPropertyData(); }
doGetRevisionProperty(repository, propName, revisionNumber, handler);
doGetRevisionProperty(repos, propName, revNumber, handler);
doGetRevisionProperty(repository, propName, revisionNumber, handler);
doGetRevisionProperty(repository, propName, revisionNumber, handler);
doGetRevisionProperty(repos, propName, revNumber, handler); return revNumber;
doGetRevisionProperty(repos, propName, revNumber, handler); return revNumber;
long rev; if (SVNCommandUtil.isURL(target)) { rev = wcClient.doGetRevisionProperty(SVNURL.parseURIEncoded(target), null, getSVNEnvironment().getStartRevision(), this); } else { File targetPath = new SVNPath(target).getFile(); rev = wcClient.doGetRevisionProperty(targetPath, null, getSVNEnvironment().getStartRevision(), this);
long rev; if (SVNCommandUtil.isURL(target)) { rev = wcClient.doGetRevisionProperty(SVNURL.parseURIEncoded(target), null, getSVNEnvironment().getStartRevision(), this); } else { File targetPath = new SVNPath(target).getFile(); rev = wcClient.doGetRevisionProperty(targetPath, null, getSVNEnvironment().getStartRevision(), this);
if (SVNCommandUtil.isURL(target)) { revPropURL = SVNURL.parseURIEncoded(target); rev = client.doGetRevisionProperty(revPropURL, propertyName, getSVNEnvironment().getStartRevision(), this); } else { targetPath = new SVNPath(target).getFile(); rev = client.doGetRevisionProperty(targetPath, propertyName, getSVNEnvironment().getStartRevision(), this);
if (SVNCommandUtil.isURL(target)) { revPropURL = SVNURL.parseURIEncoded(target); rev = client.doGetRevisionProperty(revPropURL, propertyName, getSVNEnvironment().getStartRevision(), this); } else { targetPath = new SVNPath(target).getFile(); rev = client.doGetRevisionProperty(targetPath, propertyName, getSVNEnvironment().getStartRevision(), this);
long rev; if (SVNCommandUtil.isURL(target)) { rev = wcClient.doGetRevisionProperty(SVNURL.parseURIEncoded(target), propertyName, getSVNEnvironment().getStartRevision(), this); } else { File targetPath = new SVNPath(target).getFile(); rev = wcClient.doGetRevisionProperty(targetPath, propertyName, getSVNEnvironment().getStartRevision(), this);
long rev; if (SVNCommandUtil.isURL(target)) { rev = wcClient.doGetRevisionProperty(SVNURL.parseURIEncoded(target), propertyName, getSVNEnvironment().getStartRevision(), this); } else { File targetPath = new SVNPath(target).getFile(); rev = wcClient.doGetRevisionProperty(targetPath, propertyName, getSVNEnvironment().getStartRevision(), this);