MCPcopy Create free account
hub / github.com/ComodoSecurity/openedr / svn_export

Function svn_export

edrav2/eprj/jsoncpp/makerelease.py:116–122  ·  view source on GitHub ↗

Exports the tag_url revision to export_dir. Target directory, including its parent is created if it does not exist. If the directory export_dir exist, it is deleted before export proceed.

(tag_url, export_dir)

Source from the content-addressed store, hash-verified

114 svn_command('delete', '-m', message, tag_url)
115
116def svn_export(tag_url, export_dir):
117 """Exports the tag_url revision to export_dir.
118 Target directory, including its parent is created if it does not exist.
119 If the directory export_dir exist, it is deleted before export proceed.
120 """
121 rmdir_if_exist(export_dir)
122 svn_command('export', tag_url, export_dir)
123
124def fix_sources_eol(dist_dir):
125 """Set file EOL for tarball distribution.

Callers 1

mainFunction · 0.85

Calls 2

rmdir_if_existFunction · 0.85
svn_commandFunction · 0.85

Tested by

no test coverage detected