26b710ccba73

fab: pull the review data too
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Mon, 05 Jul 2010 21:56:20 -0400
parents b3dba8dbf9f6
children 47104395a16d 639e837f240c
branches/tags (none)
files fabfile.py

Changes

--- a/fabfile.py	Mon Jul 05 21:56:07 2010 -0400
+++ b/fabfile.py	Mon Jul 05 21:56:20 2010 -0400
@@ -1,4 +1,5 @@
 from __future__ import with_statement
+import os
 
 from fabric.api import *
 
@@ -10,6 +11,7 @@
 
 def deploy():
     run('hg -R %s pull' % env.data_repo)
+    run('hg -R %s pull --update' % os.path.join(env.data_repo, '.hg', 'review'))
     run('hg -R %s pull --update' % env.tool_repo)
     sudo('supervisorctl restart %s' % env.supervisord_program)