Comment 4 for bug 545050

Revision history for this message
Martin Pool (mbp) wrote : Re: [Bug 545050] Re: saving of commit messages during uncommit should be built in

On 28 May 2010 08:52, Martin Pool <email address hidden> wrote:
> On 27 May 2010 22:49, GuilhemBichot <email address hidden> wrote:
>> I don't know whether it should be built in; as long as "uncommit" works
>> even when no X session is available, I'll be happy.
>
> Ah, are you saying that uncommit always fails totally?  That would
> suck, though I think it may already be fixed.  I'll check.

At the moment (bzr, bzr-gtk tip) you get:

mbp@lithe% DISPLAY= bzr uncommit
  694 Martin Pool 2010-05-28
      foo

The above revision(s) will be removed.
Are you sure? [y/n]: y
/usr/lib/pymodules/python2.6/gtk-2.0/gtk/__init__.py:57: GtkWarning:
could not open display
  warnings.warn(str(e), _gtk.Warning)
You can restore the old tip by running:
  bzr pull . -r revid:<email address hidden>

Since you're not actually asking for anything to do with the display
we shouldn't give the message either.

--
Martin <http://launchpad.net/~mbp/>