def repository_root():
try:<EOL><INDENT>root = subprocess.check_output(<EOL>['<STR_LIT>', '<STR_LIT:root>'], stderr=subprocess.STDOUT).strip()<EOL>return root.decode('<STR_LIT:utf-8>')<EOL><DEDENT>except subprocess.CalledProcessError:<EOL><INDENT>return None<EOL><DEDENT>
Returns the root of the repository as an absolute path.