Mercurial > public > bravenewsurf
changeset 36:1eb4b4072888
More useful to do a pull -u than an update in the fabric file.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 06 Nov 2011 14:19:12 -0600 |
parents | 5992b6b1bcd2 |
children | b9d6f6d930a9 |
files | fabfile.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/fabfile.py Sun Nov 06 13:55:16 2011 -0600 +++ b/fabfile.py Sun Nov 06 14:19:12 2011 -0600 @@ -1,13 +1,13 @@ from fabric.api import cd, env, local, put, run -def up(): +def update(): """ - Runs hg up. + Runs hg pull -u. """ with cd('/home/var/django-sites/bns/bns/'): - run('hg up') + run('hg pull -u') def collectstatic():