comparison fabfile.py @ 545:cb298c8eb039

Change fabfile to use hg instead of svn.
author Brian Neal <bgneal@gmail.com>
date Fri, 13 Jan 2012 19:07:19 -0600
parents 1f92a53db575
children 0d007c8c4851
comparison
equal deleted inserted replaced
544:c092efc9ce71 545:cb298c8eb039
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 svn update. 9 Runs hg pull -U to pull changes and update to them.
10 10
11 """ 11 """
12 with cd(PROJ_DIR): 12 with cd(PROJ_DIR):
13 run('svn up') 13 run('hg pull -U')
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.