changeset 26634 | 09bb1ee7e73e |
parent 26631 | e077ce385609 |
child 26702 | ec182d109dce |
--- a/mercurial/localrepo.py Wed Oct 14 02:49:17 2015 +0900 +++ b/mercurial/localrepo.py Wed Oct 14 02:49:17 2015 +0900 @@ -1000,6 +1000,11 @@ def releasefn(tr, success): repo = reporef() if success: + # this should be explicitly invoked here, because + # in-memory changes aren't written out at closing + # transaction, if tr.addfilegenerator (via + # dirstate.write or so) isn't invoked while + # transaction running repo.dirstate.write() else: # prevent in-memory changes from being written out at