def get_dvcs_info():
cmd = "<STR_LIT>"<EOL>commit_count = str(<EOL>int(subprocess.check_output(shlex.split(cmd)).decode("<STR_LIT:utf8>").strip())<EOL>)<EOL>cmd = "<STR_LIT>"<EOL>commit = str(subprocess.check_output(shlex.split(cmd)).decode("<STR_LIT:utf8>").strip())<EOL>return {Constants.COMMIT_FIELD: commit, Constants.COMMIT_COUNT_FIELD: commit_count}<EOL>
Gets current repository info from git