##// END OF EJS Templates
dispatch: check for None before closing repo...
Idan Kamara -
r14727:d4b9d3b9 stable
parent child Browse files
Show More
@@ -654,7 +654,7 b' def _dispatch(req):'
654 654 return runcommand(lui, repo, cmd, fullargs, ui, options, d,
655 655 cmdpats, cmdoptions)
656 656 finally:
657 if repo != req.repo:
657 if repo and repo != req.repo:
658 658 repo.close()
659 659
660 660 def _runcommand(ui, options, cmd, cmdfunc):
General Comments 0
You need to be logged in to leave comments. Login now