Merged in ChrisNielsen/hg-review (pull request #7)
Update windows contrib script for current TortoiseHg version (2.6.2).
    
        | author | Christophe de Vienne <cdevienne@gmail.com> | 
    
        | date | Sat, 22 Nov 2014 15:31:01 +0100 | 
    
    
        | parents | 66463ec963b6 
(current diff)
fc97fabaf28d 
(diff) | 
    
        | children | e5cc5cf29c7e | 
    
        | branches/tags | (none) | 
    
        | files |  | 
Changes
    
--- a/contrib/windows/update_tortoisehg_libs.py	Fri Nov 21 19:01:07 2014 +0100
+++ b/contrib/windows/update_tortoisehg_libs.py	Sat Nov 22 15:31:01 2014 +0100
@@ -1,23 +1,23 @@
 # this script will update tortoisehgs python libs to include the missing libs that hg-review needs
-# (tested with Python 2.6 and Tortoisehg 1.1)
+# (tested with Python 2.7.3 and Tortoisehg 2.6.2)
 #
 # Daniel Newton <djpnewton@gmail.com>
 #
-# Version 1.0 (2010/07/28)
+# Version 1.1 (2013/01/18)
 
 import sys
 import os
 
 # check python version
-if sys.version[:3] != '2.6':
-    sys.exit('Need Python 2.6')
+if sys.version[:3] != '2.7':
+    sys.exit('Need Python 2.7')
 
 # check for windows
 if sys.platform != 'win32':
     sys.exit('Script only works on win32')
 
 # list of libs to add
-libs = ('Cookie.py', 'decimal.py', 'htmlentitydefs.py', 'code.py', 'codeop.py', 'compiler', 'numbers.py', 'symbol.py', 'uuid.py')
+libs = ('Cookie.py', 'htmlentitydefs.py', 'code.py', 'codeop.py', 'compiler', 'symbol.py', 'uuid.py')
 
 # find python lib path
 pylib_path = os.path.join(os.path.dirname(sys.executable), 'lib')