package com.perforce.config;
public enum ScmType {
P4, SVN, CVS;
public static ScmType parse(String property) throws Exception {
if (property != null) {
for (ScmType t : ScmType.values()) {
if (property.equalsIgnoreCase(t.name())) {
return t;
}
}
}
throw new Exception("Unknown type: " + property);
}
}
# |
Change |
User |
Description |
Committed |
|
#1
|
12446 |
Paul Allen |
Branching using p4convert-rusty |
|
|
//guest/perforce_software/p4convert/src/com/perforce/config/ScmType.java |
#1
|
9807 |
Paul Allen |
Initial import of p4-convert (from change 894340) |
|
|