Mercurial > hg > truffle
comparison mx/commands.py @ 4185:4af146831ed6
Added message showing the number of changesets being checked.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 03 Jan 2012 12:56:55 +0100 |
parents | fa6b78681c54 |
children | ac5c2bdfcca2 |
comparison
equal
deleted
inserted
replaced
4184:fa6b78681c54 | 4185:4af146831ed6 |
---|---|
556 copyrightcheck(['-modified', '-reporterrors=true', '-continueonerror']) | 556 copyrightcheck(['-modified', '-reporterrors=true', '-continueonerror']) |
557 else: | 557 else: |
558 revTip = int(subprocess.check_output(['hg', 'tip', '--template', "'{rev}'"]).strip("'")) | 558 revTip = int(subprocess.check_output(['hg', 'tip', '--template', "'{rev}'"]).strip("'")) |
559 revLast = int(subprocess.check_output(['hg', 'log', '-r', hgNode, '--template', "'{rev}'"]).strip("'")) | 559 revLast = int(subprocess.check_output(['hg', 'log', '-r', hgNode, '--template', "'{rev}'"]).strip("'")) |
560 changesetCount = revTip - revLast + 1 | 560 changesetCount = revTip - revLast + 1 |
561 mx.log(time.strftime('Checking ' + str(changesetCount) + ' changesets...')) | |
561 copyrightcheck(['-last=' + str(changesetCount), '-reporterrors=true', '-continueonerror']) | 562 copyrightcheck(['-last=' + str(changesetCount), '-reporterrors=true', '-continueonerror']) |
563 raise SystemExit('forced exit') | |
562 | 564 |
563 # 6. Bootstrap with system assertions enabled | 565 # 6. Bootstrap with system assertions enabled |
564 mx.log(time.strftime('%d %b %Y %H:%M:%S - Bootstrap with -esa...')) | 566 mx.log(time.strftime('%d %b %Y %H:%M:%S - Bootstrap with -esa...')) |
565 vm(['-esa', '-version']) | 567 vm(['-esa', '-version']) |
566 | 568 |