[Python-Dev] devguide (hg_transition): patchcheck does work

Éric Araujo merwok at netwok.org
Sun Feb 27 17:20:46 CET 2011


Le 27/02/2011 16:21, Antoine Pitrou a écrit :
>> summary:
>>   patchcheck does work
> How does it find out which changesets it should operate on?

It operates on changed files, just like with Subversion:
http://hg.python.org/cpython/file/tip/Tools/scripts/patchcheck.py#l40
→ hg status --added --modified --no-status

You can use it while making a commit, or when you collapse many commits
into one diff (and apply it with hg import --no-commit).

Rewriting patchcheck to work on diffs is another thing, see
http://bugs.python.org/issue8999#msg109255

I agree that the part about patchcheck should have a note to explain
that it works with uncommitted changes, not MQ patches or changesets.

Regards


More information about the Python-Dev mailing list