comparison hgext/__init__.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 155e3308289c
children 2372284d9457
comparison
equal deleted inserted replaced
35025:5c6b96b832c2 35026:691524f0bbf6