Mercurial > hg > config
comparison python/setup_repo.py @ 461:fba923298346
python/setup_repo.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 10 Aug 2013 18:16:28 -0700 |
parents | 3cd5996c1329 |
children | 48deb57f52d1 |
comparison
equal
deleted
inserted
replaced
460:3cd5996c1329 | 461:fba923298346 |
---|---|
32 command_str = command | 32 command_str = command |
33 else: | 33 else: |
34 command_str = ' '.join(command) | 34 command_str = ' '.join(command) |
35 print 'Running:\n%s' % (command_str) | 35 print 'Running:\n%s' % (command_str) |
36 if globals()['dry_run']: | 36 if globals()['dry_run']: |
37 import pdb; pdb.set_trace() | |
38 return | 37 return |
39 return subprocess.check_output(*args, **kwargs) | 38 return subprocess.check_output(*args, **kwargs) |
40 | 39 |
41 def init_repo(directory): | 40 def init_repo(directory): |
42 """setup repository""" | 41 """setup repository""" |