# HG changeset patch # User Jeff Hammel # Date 1376183594 25200 # Node ID 3cd5996c1329f574838aecb5c42ed934f7d6e524 # Parent 32667483d1c5c802cd509f3d4833cefde7a35735 python/setup_repo.py diff -r 32667483d1c5 -r 3cd5996c1329 python/setup_repo.py --- a/python/setup_repo.py Sat Aug 10 18:11:44 2013 -0700 +++ b/python/setup_repo.py Sat Aug 10 18:13:14 2013 -0700 @@ -34,6 +34,7 @@ command_str = ' '.join(command) print 'Running:\n%s' % (command_str) if globals()['dry_run']: + import pdb; pdb.set_trace() return return subprocess.check_output(*args, **kwargs) @@ -93,8 +94,7 @@ # setup remote repository remote_dir = '~/%s/%s' % (path.lstrip('/'), name) command = ['ssh', host, "mkdir -p %s && cd %s && hg init" % (remote_dir, remote_dir)] - print command - # call(command) + call(command) def main(args=sys.argv[1:]): @@ -141,8 +141,7 @@ # push changes command = ['hg', 'push', '-R', directory] - print command - # call(command) + call(command) if __name__ == '__main__': main()