##// END OF EJS Templates
dispatch: set descriptors on the request repo.ui
Idan Kamara -
r14744:23325c5e stable
parent child Browse files
Show More
@@ -622,7 +622,12 b' def _dispatch(req):'
622 if not rpath:
622 if not rpath:
623 repo = req.repo
623 repo = req.repo
624
624
625 if not repo:
625 if repo:
626 # set the descriptors of the repo ui to those of ui
627 repo.ui.fin = ui.fin
628 repo.ui.fout = ui.fout
629 repo.ui.ferr = ui.ferr
630 else:
626 try:
631 try:
627 repo = hg.repository(ui, path=path)
632 repo = hg.repository(ui, path=path)
628 if not repo.local():
633 if not repo.local():
General Comments 0
You need to be logged in to leave comments. Login now