diff contrib/python-hook-examples.py @ 35022:0ba3b928f9a9 stable

amend: do not take untracked files as modified or clean (issue5732) fctx.exists() shouldn't be used here as it checks if a file physically exists, which may disagree with the dirstate.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 04 Nov 2017 23:45:59 +0900
parents 2b585677220e
children 1a184b727aff
line wrap: on
line diff