/** * @return The path at its last changed revision. */ public String toString() { return getPath() + '@' + getLastChangedRevision(); } }
/** * @return The path at its last changed revision. */ public String toString() { return getPath() + '@' + getLastChangedRevision(); } }
/** * @return The path at its last changed revision. */ public String toString() { return getPath() + '@' + getLastChangedRevision(); } }
public void doEntry(DirEntry dirent, Lock lock) { // All of this is meant to retain backward compatibility with // the old svn_client_ls-style API. For further information about // what is going on here, see the comments in // libsvn_client/list.c:store_dirent(). if (dirent.getPath().length() == 0) { if (dirent.getNodeKind() == NodeKind.file) { String absPath = dirent.getAbsPath(); int lastSeparator = absPath.lastIndexOf('/'); String path = absPath.substring(lastSeparator, absPath.length()); dirent.setPath(path); } else { // It's the requested directory, which we don't want // to add. return; } } dirents.add(dirent); }
public void doEntry(DirEntry dirent, Lock lock) { // All of this is meant to retain backward compatibility with // the old svn_client_ls-style API. For further information about // what is going on here, see the comments in // libsvn_client/list.c:store_dirent(). if (dirent.getPath().length() == 0) { if (dirent.getNodeKind() == NodeKind.file) { String absPath = dirent.getAbsPath(); int lastSeparator = absPath.lastIndexOf('/'); String path = absPath.substring(lastSeparator, absPath.length()); dirent.setPath(path); } else { // It's the requested directory, which we don't want // to add. return; } } dirents.add(dirent); }