Patch subject is complete summary.

# HG changeset patch
# User Emmanuel Rosa <goaway1...@gmail.com>
# Date 1280884565 14400
# Branch stable
# Node ID de23bd9c93888b6fde5aefc73a63df40f020463d
# Parent  bf9a4ca0d68adef2eea0890cfa26032bcb14f66a
archive: allow archiving of rev 0

diff --git a/tortoisehg/hgtk/archive.py b/tortoisehg/hgtk/archive.py
--- a/tortoisehg/hgtk/archive.py
+++ b/tortoisehg/hgtk/archive.py
@@ -43,10 +43,10 @@
         self.combo.child.set_width_chars(28)
         self.combo.child.connect('activate',
                                  lambda b: self.response(gtk.RESPONSE_OK))
-        if self.initrev:
+        if self.initrev == '':
+            self.combo.append_text(WD_PARENT)
+        else:
             self.combo.append_text(str(self.initrev))
-        else:
-            self.combo.append_text(WD_PARENT)
         self.combo.set_active(0)
         for b in self.repo.branchtags():
             self.combo.append_text(b)
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to