# HG changeset patch # User Jeff Hammel # Date 1376183504 25200 # Node ID 32667483d1c5c802cd509f3d4833cefde7a35735 # Parent 483b4237d9a23c6758f05d6cf742657197813114 python/setup_repo.py diff -r 483b4237d9a2 -r 32667483d1c5 python/setup_repo.py --- a/python/setup_repo.py Sat Aug 10 18:10:16 2013 -0700 +++ b/python/setup_repo.py Sat Aug 10 18:11:44 2013 -0700 @@ -33,6 +33,8 @@ else: command_str = ' '.join(command) print 'Running:\n%s' % (command_str) + if globals()['dry_run']: + return return subprocess.check_output(*args, **kwargs) def init_repo(directory):