comparison .hgignore @ 27228:10695f8f3323 stable

dirstate: don't write repo.currenttransaction to repo.dirstate if repo is None (issue4983) Some hooks, such as post-init and post-clone, do not get a repo parameter in their environment. If there is no repo, there is no repo.currenttransaction(); attempting to retrieve it anyway was causing crashes. Now currenttransaction is only retrieved and written if the repo is not None.
author Sietse Brouwer <sbbrouwer@gmail.com>
date Thu, 03 Dec 2015 01:38:21 +0100
parents 3232f92360d4
children a1eff44c432b
comparison
equal deleted inserted replaced
27227:f20533623833 27228:10695f8f3323