Page MenuHome

Manual tools: svn_commit to py3
ClosedPublic

Authored by Tobias Heinke (TobiasH) on Feb 19 2018, 3:56 PM.

Details

Summary

use subprocess module for console commands.
rename var: file_path to fn (Python convention)
lines have to be encoded: byte to string
add rudimentary error handling for SVN

The import in line 18 is not working, so for testing it has to be moved into the [tools_report] folder.
(note: line 61 [svn commit] has to be commented out for testing)

Diff Detail

Repository
rBM Blender Manual

Event Timeline

This revision is now accepted and ready to land.Feb 21 2018, 7:21 AM
tools/svn_commit.py
69–74

Should probably use space after "svn"

This revision was automatically updated to reflect the committed changes.