I am botching this badly and I need some assistance unprovided by Google searching/Documentation.
So im using python 2.6.6 and fabric 1.8
Here is what i am trying to do:
- run an svn command on a host and get list of files
- do some things to those files
Here is what i have as an idea:
Code:
@serial
def patch(revision):
env.user = 'root'
with settings(host_string='somehost.lan'):
with cd('/root/builds'):
with run('svn log -r {0}'.format(revision)) as name:
line = name.readlines()
run($line)
Which does't work.