Show More
@@ -33,6 +33,8 b' 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) |
General Comments 0
You need to be logged in to leave comments.
Login now