qlog immediately closes when opened while a pull process is running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Explorer |
Confirmed
|
Medium
|
Unassigned | ||
QBzr |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Using Bazaar 2.4.2-1 with qbzr trunk on Win7 x64.
I opened Bazaar Explorer and was just trying to pull the newest changes of another svn project. While the qpull window was still active (because the pull process took a while), I clicked 'log' to view the changes.
The qlog window immediately closes right after displaying. A look in my .bzr.log shows me why:
...
LockContention: Could not acquire lock "C:/spielwiese/
...
This made me wonder:
1) Why is qlog trying to lock something if it is only displaying data in the first place?
2) A little warning window to give the user a feedback about a problem would be much nicer than closing the window without any comment.
Couple of answers on your questions:
1) qlog uses bzr API to get the history and bzr itself tries to lock everything on read operations.
2) Yes, a little dialog box should be better then crashing with error.
I think qlog needs --ui-mode option too to be able to show errors in appropriate GUI dialog when qlog invoked from explorer.