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
|
13876 |
Paul Allen |
Rename/move file(s) |
|
|
//guest/paul_allen/p4convert-maven/src/com/perforce/config/ScmType.java |
#1
|
13873 |
Paul Allen |
Branching using p4convert-maven |
|
|
//guest/perforce_software/p4convert/src/com/perforce/config/ScmType.java |
#1
|
9807 |
Paul Allen |
Initial import of p4-convert (from change 894340) |
|
|