Package: mercurial-git
Version: 0.2.6-1
Severity: important
Tags: patch

Hi,

I found a solution that solve the problem for me. 

In the file /usr/lib/pymodules/python2.6/hgext/git/git_handler.py, line 810, I 
just skip the lines in the metadata that doesn't contain ":" instead of 
analysing them, and failed (cf the attachement).

 I don't know if it is a good solution, but it works for me, so I share it :-)

Adrien
--- git_handler_old.py	2011-08-07 12:14:42.964731517 +0200
+++ git_handler_new.py	2011-08-07 12:14:37.492704439 +0200
@@ -808,6 +808,8 @@
             for line in lines:
                 if line == '':
                     continue
+	        if line.count(':') == 0:
+	            continue
 
 	        command, data = line.split(" : ", 1)
 

Reply via email to