python 3.x - Commit file in svn with python3 -


is there simple way commit file (.txt) script creates svn?

i found lot of tools seems complicated use

i need know os using before answer this.

anyway if using linux/unix can use this:

suppose files need updated stored in file names.txt absolute path.

import os f = open('/root/names.txt') line = f.readline() f.close() words= line.split()  word in words:     cmd1 = 'svn ' +word     if os.system(cmd1) == 0:         print('all files updated')    

Comments