hgext/convert/common.py
branchstable
changeset 16118 d554a3dcae5a
parent 16106 d75aa756149b
child 16190 9479c28a22bf
--- a/hgext/convert/common.py	Thu Feb 16 01:23:45 2012 +0200
+++ b/hgext/convert/common.py	Wed Feb 15 11:21:24 2012 +0100
@@ -419,7 +419,7 @@
         fp = open(path, 'r')
         for i, line in enumerate(fp):
             try:
-                child, parents = line.splitlines()[0].rstrip().rsplit(' ', 1)
+                child, parents = line.splitlines()[0].rstrip().split(' ', 1)
                 parents = parents.replace(',', ' ').split()
             except ValueError:
                 raise util.Abort(_('syntax error in %s(%d): child parent1'