##// END OF EJS Templates
dirstate: don't write repo.currenttransaction to repo.dirstate if repo...
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.

File last commit:

r27225:30a20167 default
r27228:10695f8f stable
Show More
__init__.py
0 lines | 0 B | text/x-python | PythonLexer