Mercurial > hg
view tests/histedit-helpers.sh @ 38185:3277940a935f stable
templatefuncs: only render text portion of minirst.format() result
When "keep" argument is provided, the function returns (text, pruned), where
pruned is a list of sections from the original plain text that were pruned from
the rendered result. Let's not output it together with the rendered HTML.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 06 Jun 2018 21:19:42 +0800 |
parents | 890273343170 |
children |
line wrap: on
line source
fixbundle() { grep -v 'saving bundle' | grep -v 'saved backup' | \ grep -v added | grep -v adding | \ grep -v "unable to find 'e' for patching" | \ grep -v "e: No such file or directory" | \ cat }