diff fabfile.py @ 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 b5329e6ad828
children 89d0511cb5c2
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():