comparison mercurial/minirst.py @ 14687:15200b46165b stable

merge default branch into stable to mark the start of the code freeze
author Matt Mackall <mpm@selenic.com>
date Sat, 18 Jun 2011 17:03:01 -0500
parents 7658221da551
children ee766af457ed
comparison
equal deleted inserted replaced
14508:07722bb8a08c 14687:15200b46165b
465 print "*** after %s:" % func.__name__ 465 print "*** after %s:" % func.__name__
466 pprint(blocks) 466 pprint(blocks)
467 print 467 print
468 return blocks 468 return blocks
469 469
470 text = open(sys.argv[1]).read() 470 text = sys.stdin.read()
471 blocks = debug(findblocks, text) 471 blocks = debug(findblocks, text)
472 blocks = debug(findliteralblocks, blocks) 472 blocks = debug(findliteralblocks, blocks)
473 blocks, pruned = debug(prunecontainers, blocks, sys.argv[2:]) 473 blocks, pruned = debug(prunecontainers, blocks, sys.argv[1:])
474 blocks = debug(inlineliterals, blocks) 474 blocks = debug(inlineliterals, blocks)
475 blocks = debug(splitparagraphs, blocks) 475 blocks = debug(splitparagraphs, blocks)
476 blocks = debug(updatefieldlists, blocks) 476 blocks = debug(updatefieldlists, blocks)
477 blocks = debug(updateoptionlists, blocks) 477 blocks = debug(updateoptionlists, blocks)
478 blocks = debug(findsections, blocks) 478 blocks = debug(findsections, blocks)