equal
deleted
inserted
replaced
31 |
31 |
32 def update(rev): |
32 def update(rev): |
33 """update the repo to a revision""" |
33 """update the repo to a revision""" |
34 try: |
34 try: |
35 check_call(['hg', 'update', '--quiet', '--check', str(rev)]) |
35 check_call(['hg', 'update', '--quiet', '--check', str(rev)]) |
|
36 check_output(['make', 'local'], |
|
37 stderr=None) # suppress output except for error/warning |
36 except CalledProcessError as exc: |
38 except CalledProcessError as exc: |
37 print >> sys.stderr, 'update to revision %s failed, aborting' % rev |
39 print >> sys.stderr, 'update to revision %s failed, aborting' % rev |
38 sys.exit(exc.returncode) |
40 sys.exit(exc.returncode) |
39 |
41 |
40 |
42 |