Mercurial > evolve
view docs/makefile @ 5853:13b108c3782e stable
evolve: use cl.tiprev() instead of len(cl) - 1
We have this nice method of revlogs that will make code slightly easier to
read, why not use it.
Revlogs also have a .tip() method to return tip as node hash, but only in 5.3+.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Tue, 16 Mar 2021 21:25:11 +0800 |
parents | 5affbb44f135 |
children |
line wrap: on
line source
SPHINXBUILD ?= python3 -m sphinx -b html .PHONY: all all: tutorials/tutorial.rst tutorials/topic-tutorial.rst static/logo-evolve.ico $(SPHINXBUILD) . ../html/ tutorials/tutorial.rst: tutorials/tutorial.t test2rst.py python3 test2rst.py $< tutorials/topic-tutorial.rst: tutorials/topic-tutorial.t test2rst.py python3 test2rst.py $< static/logo-evolve.ico: static/logo-evolve.svg convert -resize 36x36 $< $@ .PHONY: clean clean: rm -rf ../html rm -f static/logo-evolve.ico rm -f tutorials/tutorial.rst rm -f tutorials/topic-tutorial.rst