# HG changeset patch
# User Yuki KODAMA <[email protected]>
# Date 1244906996 -32400
# Node ID 1a846f6a08744423539268532c0b2a6a9ff5d18c
# Parent  be5ca1f050992a6ef9c74ff78aba487275b74e0c
update: fix update to rev 0 from changelog viewer

This issue was reported as #288.

diff --git a/hggtk/update.py b/hggtk/update.py
--- a/hggtk/update.py
+++ b/hggtk/update.py
@@ -48,7 +48,7 @@
         combo = gtk.combo_box_new_text()
         hbox.pack_start(combo, True, True, 2)
         vbox.pack_start(hbox, False, False, 10)
-        if rev:
+        if rev != None:
             combo.append_text(str(rev))
         else:
             combo.append_text(_branch_tip_)

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to