lastui decides where (where is the .hg) to use if the current ui
object does not have a _bbrepo associated. Previously it only gets set in
ui.log, which means unless a ui with repo associated calls log with
tracked event, blackbox does not know where to write its log. This patch
makes reposetup set lastui so it so we could log some more events (see
test changes).
Details
Details
- Reviewers
durham - Group Reviewers
hg-reviewers - Commits
- rHGb90bd9a98c8b: blackbox: set lastui even if ui.log is not called (issue5518)
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
It might be worth mentioning what lastui is use for in the commit message. I had to look at the code a little to remember what lastui did and why this was safe.