summaryrefslogtreecommitdiffstats
path: root/Tools/hg
Commit message (Collapse)AuthorAgeFilesLines
* bpo-23404: make touch becomes make regen-all (#1405)Victor Stinner2017-05-031-129/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Don't rebuild generated files based on file modification time anymore, the action is now explicit. Replace "make touch" with "make regen-all". Changes: * Remove "make touch", Tools/hg/hgtouch.py and .hgtouch * Add a new "make regen-all" command to rebuild all generated files * Add subcommands to only generate specific files: - regen-ast: Include/Python-ast.h and Python/Python-ast.c - regen-grammar: Include/graminit.h and Python/graminit.c - regen-importlib: Python/importlib_external.h and Python/importlib.h - regen-opcode: Include/opcode.h - regen-opcode-targets: Python/opcode_targets.h - regen-typeslots: Objects/typeslots.inc * Rename PYTHON_FOR_GEN to PYTHON_FOR_REGEN * pgen is now only built by by "make regen-grammar" * Add $(srcdir)/ prefix to paths to source files to handle correctly compilation outside the source directory Note: $(PYTHON_FOR_REGEN) is no more used nor needed by "make" default target building Python.
* Remove legacy "from __future__ import with_statement" lines.Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)2016-09-081-1/+0
|
* hgtouch: remove meta-variable from option specGeorg Brandl2014-03-091-1/+1
| | | | | This fifth tuple element is unsupported in an old hg version still used on one buildbot, and it is not really necessary (only used in touch --help).
* Closes #19966: allow hgtouch to operate on a base dir that is != the repo root.Georg Brandl2014-01-271-12/+23
|
* Issue #19106: Touch generated files to be 1s newer than their youngest source.Martin v. Löwis2013-09-301-11/+26
|
* let this work with system Python 2.5Benjamin Peterson2013-09-271-0/+1
|
* use wfile apiBenjamin Peterson2012-04-271-4/+8
|
* Issue #14642: Add "hg touch" extension, and "make touch" target.Martin v. Loewis2012-04-271-0/+99