Merge lp:~garyvdm/bzr/bzrw into lp:bzr/2.2
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Gary van der Merwe | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 5069 | ||||
Proposed branch: | lp:~garyvdm/bzr/bzrw | ||||
Merge into: | lp:bzr/2.2 | ||||
Diff against target: |
93 lines (+45/-1) 3 files modified
NEWS (+4/-0) setup.py (+6/-1) tools/win32/py2exe_boot_common.py (+35/-0) |
||||
To merge this branch: | bzr merge lp:~garyvdm/bzr/bzrw | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexander Belchenko | Approve | ||
Review via email: mp+31133@code.launchpad.net |
Commit message
(GaryvdM) Add bzrw as gui_target. Blackhole it's stderr with a custom py2exe boot script.
Description of the change
This addes py2exe windows target ``bzrw.exe``. This allow for starting a Bazaar GUI with out have a console open in the background.
Previous discussions about this:
https:/
https:/
As you can see, we have been trying to do this for a while now.
On of the problems that we had, is that, by default, if something is written to stderr, it is written to a log file, and a message box prompt is given. This is annoying, as the are many thing that may be written to stderr, which are not necessarily errors, while most errors are logged to .bzr.log anyway. I have overridden the py2exe script which does this, so that stderr, as well as stdout go to a blackhole.
There are still some issues where some prompts go to the console, which the user will not see when they are using this. I.e. when using openssh, and when using gpg (bug 336910).
Bailix reviewed & approved this. Please see: https:/ /lists. launchpad. net/bzr- windows/ msg00350. html
I've moved boot_common.py as per his recommendation, and built and test a new installer, to check that py2exe picks up the moved file.
I'll try submit to lp:bzr/2.2, but I think I might not have permissions to it.