# HG changeset patch
# User Simon Heimberg <sim...@besonet.ch>
# Date 1247061247 -7200
# Node ID acf6119be0de018fbe3f95b3d463c9d46385a2d8
# Parent  2d96d6254920aed53c0d4401d28fedb32a61b4ab
hggtk: do not stop on to long versions

mercurial version is hash+date (19 chars) after running setup

diff -r 2d96d6254920 -r acf6119be0de hggtk/hgtk.py
--- a/hggtk/hgtk.py     Mit Jul 08 15:44:41 2009 +0200
+++ b/hggtk/hgtk.py     Mit Jul 08 15:54:07 2009 +0200
@@ -578,7 +578,7 @@
     # doesn't lend itself to a "correct" solution.  This will at least
     # catch people who have old Mercurial packages.
     reqver = ['1', '3']
-    if not v or v == 'unknown' or len(v) == 12:
+    if not v or v == 'unknown' or len(v) >= 12:
         # can't make any intelligent decisions about unknown or hashes
         return
     vers = v.split('.')[:2]

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Tortoisehg-develop mailing list
Tortoisehg-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to