Mercurial > public > sg101
comparison fabfile.py @ 546:0d007c8c4851
Correct the hg pull command in the fabfile.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 13 Jan 2012 19:09:08 -0600 |
parents | cb298c8eb039 |
children | 76ec83b73e18 |
comparison
equal
deleted
inserted
replaced
545:cb298c8eb039 | 546:0d007c8c4851 |
---|---|
4 WC_DIR = '/home/var/django-sites/virtualenvs/sg101/sg101' | 4 WC_DIR = '/home/var/django-sites/virtualenvs/sg101/sg101' |
5 PROJ_DIR = WC_DIR + '/gpp' | 5 PROJ_DIR = WC_DIR + '/gpp' |
6 | 6 |
7 def update(): | 7 def update(): |
8 """ | 8 """ |
9 Runs hg pull -U to pull changes and update to them. | 9 Runs hg pull --update to pull changes and update to them. |
10 | 10 |
11 """ | 11 """ |
12 with cd(PROJ_DIR): | 12 with cd(PROJ_DIR): |
13 run('hg pull -U') | 13 run('hg pull --update') |
14 | 14 |
15 | 15 |
16 def collectstatic(): | 16 def collectstatic(): |
17 """ | 17 """ |
18 Runs the staticfiles collectstatic command to deploy static assets. | 18 Runs the staticfiles collectstatic command to deploy static assets. |