I'm setting up a process that commits some changes in SVN then merges these changes into the live project. I'm struggling to capture the commit revision number and use this for merging. Currently I'm doing this in my python code:
args = 'svn commit -m "daily update"'
cmd_output = check_output(args , shell = True)
os.chdir(livefolder)
svn merge -c ?? //branch_dir
How do I capture the revision and add this in the ?? above?
Comments
Post a Comment