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 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 propertyGet(String path, String name, Revision revision, Revision pegRevision) throws ClientException { if(name == null || name.equals("")){ return null; } SVNWCClient client = getSVNWCClient(); SVNRevision svnRevision = JavaHLObjectFactory.getSVNRevision(revision); SVNRevision svnPegRevision = JavaHLObjectFactory.getSVNRevision(pegRevision); JavaHLPropertyHandler retriever = new JavaHLPropertyHandler(myOwner); try { if(isURL(path)){ client.doGetProperty(SVNURL.parseURIEncoded(path), name, svnPegRevision, svnRevision, false, retriever); }else{ client.doGetProperty(new File(path).getAbsoluteFile(), name, svnPegRevision, svnRevision, false, retriever); } } catch (SVNException e) { throwException(e); } 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 propertyGet(String path, String name, Revision revision, Revision pegRevision) throws ClientException { if (name == null || name.equals("")) { return null; } SVNWCClient client = getSVNWCClient(); SVNRevision svnRevision = JavaHLObjectFactory.getSVNRevision(revision); SVNRevision svnPegRevision = JavaHLObjectFactory.getSVNRevision(pegRevision); JavaHLPropertyHandler retriever = new JavaHLPropertyHandler(myOwner); try { if (isURL(path)) { client.doGetProperty(SVNURL.parseURIEncoded(path), name, svnPegRevision, svnRevision, SVNDepth.EMPTY, retriever); } else { client.doGetProperty(new File(path).getAbsoluteFile(), name, svnPegRevision, svnRevision, SVNDepth.EMPTY, retriever, null); } } catch (SVNException e) { throwException(e); } finally { resetLog(); } return retriever.getPropertyData(); }
public PropertyData propertyGet(String path, String name, Revision revision, Revision pegRevision) throws ClientException { if (name == null || name.equals("")) { return null; } SVNWCClient client = getSVNWCClient(); SVNRevision svnRevision = JavaHLObjectFactory.getSVNRevision(revision); SVNRevision svnPegRevision = JavaHLObjectFactory.getSVNRevision(pegRevision); JavaHLPropertyHandler retriever = new JavaHLPropertyHandler(myOwner); try { if (isURL(path)) { client.doGetProperty(SVNURL.parseURIEncoded(path), name, svnPegRevision, svnRevision, SVNDepth.EMPTY, retriever); } else { client.doGetProperty(new File(path).getAbsoluteFile(), name, svnPegRevision, svnRevision, SVNDepth.EMPTY, retriever, null); } } catch (SVNException e) { throwException(e); } finally { resetLog(); } return retriever.getPropertyData(); }
public PropertyData propertyGet(String path, String name, Revision revision, Revision pegRevision) throws ClientException { if (name == null || name.equals("")) { return null; } SVNWCClient client = getSVNWCClient(); SVNRevision svnRevision = JavaHLObjectFactory.getSVNRevision(revision); SVNRevision svnPegRevision = JavaHLObjectFactory.getSVNRevision(pegRevision); JavaHLPropertyHandler retriever = new JavaHLPropertyHandler(myOwner); try { if (isURL(path)) { client.doGetProperty(SVNURL.parseURIEncoded(path), name, svnPegRevision, svnRevision, SVNDepth.EMPTY, retriever); } else { client.doGetProperty(new File(path).getAbsoluteFile(), name, svnPegRevision, svnRevision, SVNDepth.EMPTY, retriever, null); } } catch (SVNException e) { throwException(e); } finally { resetLog(); } return retriever.getPropertyData(); }