saving of commit messages during uncommit should be built in
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned | ||
Bazaar GTK+ Frontends |
Confirmed
|
Medium
|
Unassigned | ||
QBzr |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I ssh to a machine (without X-forwarding) and there I do "bzr uncommit":
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib64/
return the_callable(*args, **kwargs)
File "/usr/lib64/
ret = run(*run_argv)
File "/usr/lib64/
return self.run_
File "/usr/lib64/
return self._operation
File "/usr/lib64/
return _do_with_cleanups(
File "/usr/lib64/
result = func(*args, **kwargs)
File "/usr/lib64/
return self._run(b, tree, dry_run, verbose, revision, force, local=local)
File "/usr/lib64/
revno=revno, local=local)
File "/usr/lib64/
hook_new_tip)
File "/usr/lib64/
from bzrlib.plugins.gtk import commit
File "/usr/lib64/
import gtk
File "/usr/lib64/
_init()
File "/usr/lib64/
_gtk.
RuntimeError: could not open display
bzr 2.1.0 on python 2.4.3 (Linux-
arguments: ['/usr/bin/bzr', 'uncommit']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
gtk /usr/lib64/
When executing bzr-gtk's post-uncommit hook, "import gtk" is executed, which fails as there is no X session.
Suggested fix: let the post-uncommit hook not require the graphical parts of bzr-gtk.
Workaround: bzr --no-plugins uncommit
Changed in bzr-gtk: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
summary: |
- "bzr uncommit" fails if no X session (gtk error) + saving of commit messages during uncommit should be built in |
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in qbzr: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: check-for-breezy |
The saving of commit messages on uncommit really should be moved into bzr core.