remote-bzr: fix for files with spaces
Set the maximum number of splits to make when dividing the diff stat lines based on space characters. Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
99a4fdb950
commit
ad44a72095
@ -621,7 +621,7 @@ def parse_commit(parser):
|
|||||||
mark = int(mark_ref[1:])
|
mark = int(mark_ref[1:])
|
||||||
f = { 'mode' : m, 'mark' : mark }
|
f = { 'mode' : m, 'mark' : mark }
|
||||||
elif parser.check('D'):
|
elif parser.check('D'):
|
||||||
t, path = line.split(' ')
|
t, path = line.split(' ', 1)
|
||||||
f = { 'deleted' : True }
|
f = { 'deleted' : True }
|
||||||
else:
|
else:
|
||||||
die('Unknown file command: %s' % line)
|
die('Unknown file command: %s' % line)
|
||||||
|
Loading…
Reference in New Issue
Block a user