remote-hg: fix for files with spaces
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
08c2599c32
commit
418673c4bc
@ -565,7 +565,7 @@ def parse_commit(parser):
|
|||||||
|
|
||||||
for line in parser:
|
for line in parser:
|
||||||
if parser.check('M'):
|
if parser.check('M'):
|
||||||
t, m, mark_ref, path = line.split(' ')
|
t, m, mark_ref, path = line.split(' ', 3)
|
||||||
mark = int(mark_ref[1:])
|
mark = int(mark_ref[1:])
|
||||||
f = { 'mode' : hgmode(m), 'data' : blob_marks[mark] }
|
f = { 'mode' : hgmode(m), 'data' : blob_marks[mark] }
|
||||||
elif parser.check('D'):
|
elif parser.check('D'):
|
||||||
|
Reference in New Issue
Block a user