package com.perforce.common.node; import com.perforce.svn.parser.Property; public class NodeAttributes { private Property property; private String path; private int rev; private long change; public NodeAttributes(Property p) { property = p; } public void setHeader(String p, long c, int r) { path = p; rev = r; change = c; } public String toString() { StringBuffer sb = new StringBuffer(); sb.append("# Properties File: " + path); sb.append("#" + rev + "\n"); sb.append("# SVN revision: " + change + "\n"); for (String key : property.getKeySet()) { sb.append("[" + key + "]\n"); sb.append(property.findString(key) + "\n"); } return sb.toString(); } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 13876 | Paul Allen | Rename/move file(s) | ||
//guest/paul_allen/p4convert-maven/src/com/perforce/common/node/NodeAttributes.java | |||||
#1 | 13873 | Paul Allen | Branching using p4convert-maven | ||
//guest/perforce_software/p4convert/src/com/perforce/common/node/NodeAttributes.java | |||||
#1 | 11066 | Paul Allen |
Code refactor: Moved 'node' package from 'svn' to 'common'. |
||
//guest/perforce_software/p4convert/src/com/perforce/svn/node/NodeAttributes.java | |||||
#1 | 9807 | Paul Allen | Initial import of p4-convert (from change 894340) |