package com.perforce.common.label; public class TagConvert { private int revision; private String path; public TagConvert(String path, int revision) { this.revision = revision; this.path = path.intern(); } public int getRevision() { return revision; } public String getPath() { return path; } public String toString() { if (revision > 0) { return path + "#" + revision; } else { return path; } } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 12446 | Paul Allen | Branching using p4convert-rusty | ||
//guest/perforce_software/p4convert/src/com/perforce/common/label/TagConvert.java | |||||
#3 | 11274 | Paul Allen | Intern optimisation for Labels. | ||
#2 | 10730 | Paul Allen |
CVS: Fix for Labels in Import mode. Unable to label a revision in a pending change, so store all tag entries and add them to label after the change is submitted. Includes basic test case 030 |
||
#1 | 9807 | Paul Allen | Initial import of p4-convert (from change 894340) |