package com.perforce.svn.tag; public class TagEntry { private final String id; private String toPath; private String fromPath; private long fromChange; private TagType type = TagType.UNKNOWN; private int branchCount; public TagEntry(String id) { this.id = id; branchCount = 1; } public void increment() { branchCount++; } public String getId() { return id; } public int getCount() { return branchCount; } public TagType getType() { return type; } public void setType(TagType type) { this.type = type; } public String toString() { StringBuffer sb = new StringBuffer(); char t = type.toString().charAt(0); sb.append(t + ":" + branchCount); sb.append(" " + id); return sb.toString(); } public String getToPath() { return toPath; } public void setToPath(String toPath) { this.toPath = toPath; } public String getFromPath() { return fromPath; } public void setFromPath(String fromPath) { this.fromPath = fromPath; } public long getFromChange() { return fromChange; } public void setFromChange(long fromChange) { this.fromChange = fromChange; } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 13876 | Paul Allen | Rename/move file(s) | ||
//guest/paul_allen/p4convert-maven/src/com/perforce/svn/tag/TagEntry.java | |||||
#1 | 13873 | Paul Allen | Branching using p4convert-maven | ||
//guest/perforce_software/p4convert/src/com/perforce/svn/tag/TagEntry.java | |||||
#3 | 11047 | Paul Allen |
SVN: Test case 119 labels_branch-branch. Test what happens when a label is branched with edits and deletes. The default behaviour is to keep the initial label as a label and the resulting branch is sparse. If this is not desired then the tag should be included in the branch mapping (include.map). For example: [exclude.map] ^tags/.* [include.map] ^tags/full_branch/.* |
||
#2 | 11040 | Paul Allen |
SVN: Static label support - Push up shared label code for CVS/SVN - Update label description base for CVS test case 030 |
||
#1 | 11030 | Paul Allen |
SVN: Detect Automatic/Static labels - Minor refactor prescan/LabelParser to tag/TagParser |