public class VersionControlBuckConfig extends Object
Available keys:
generate_statistics: - Enable or disable the generation of version control statistics - Default value is false. - Currently only Mercurial is supported. hg_cmd: - Override the default Mercurial command used when generating statistics. - Default value is hg
Example config section:
[version_control] hg_cmd = hg3 generate_statistics = true
Constructor and Description |
---|
VersionControlBuckConfig(BuckConfig delegate) |
Modifier and Type | Method and Description |
---|---|
String |
getHgCmd() |
Optional<com.facebook.buck.util.versioncontrol.FastVersionControlStats> |
getPregeneratedVersionControlStats() |
boolean |
shouldGenerateStatistics() |
public VersionControlBuckConfig(BuckConfig delegate)