On Mon, Sep 14, 2009 at 9:27 PM, Steve Borho <st...@borho.org> wrote:
> On Mon, Sep 14, 2009 at 8:24 PM,  <goaway1...@gmail.com> wrote:
>> There's an IndexError exception here, but I don't know if this patch is the 
>> right way to go.
>>
>> File "/home/emmanuel/projects/tortoisehg/stable/tortoisehg/hgtk/commit.py", 
>> line 408, in update_recent_messages
>>    sumline = hglib.toutf(hglib.tounicode(msg).splitlines()[0])
>> IndexError: list index out of range
>
> It might be the right approach.  Is msg completely empty when you get this?

Looking at that function more closely, it seems that we accept empty
messages into the MRU list, which is a waste of time.  We should just
ignore empty messages entirely.

I've pushed a similar fix, thanks.

--
Steve Borho

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to