comparison contrib/python-hook-examples.py @ 35026:691524f0bbf6 stable

amend: update .hgsubstate before committing a memctx (issue5677) This is a minimal copy of localrepo.commit(). As the current amend() function heavily depends on the wctx API, it wasn't easy to port it to use a separate status tuple. So for now, wctx._status is updated in-place.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 04 Nov 2017 20:07:40 +0900
parents 2b585677220e
children 1a184b727aff
comparison
equal deleted inserted replaced
35025:5c6b96b832c2 35026:691524f0bbf6