Mercurial > evolve
view docs/tutorial/compile.sh @ 5671:8c5f2c37b911
strip: remove experimental.prunestrip option
marmoute decided to drop it because it's "neither documented nor a good idea".
This extensions was assemble to deal with Facebook willingness to check `hg
strip` semantic for its user. Changing `hg strip` semantic is overall a pretty
bad idea, because `stripping` is a specific operation, that is problematic in
distributed version control but have a narrow set of valid usecase (eg:
maintenance). Diverting user away from `prune` in favor of a modified `strip` is
a bad idea, because it mask the legitimate `strip` usage and introduce confusion
in user heads, The verb is not appropriate and the behavior of `prunestrip` does
not match the one of vanillia `strip`.
Facebook is no longer using this, and the lack of documentation is a good hint
that nobody else is. So lets drop it.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 27 Nov 2020 09:47:01 +0800 |
parents | aad37ffd7d58 |
children |
line wrap: on
line source
#!/bin/bash set -eox pipefail function compile { pandoc \ -s $1 \ -o $2 \ --toc --toc-depth=4 \ -F pandocfilters/examples/graphviz.py -F mypandocfilters/graphviz-file.py -F mypandocfilters/raw-file.py \ -t html5 \ --template standalone.html --variable=template_css:uikit.css } compile slides.md index.html