From: Felipe Contreras Date: Sat, 25 May 2013 02:24:20 +0000 (-0500) Subject: remote-bzr: fix for files with spaces X-Git-Tag: v1.8.4-rc0~190^2~6 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/ad44a7209534a6298c85a2a0fe107c56de0c8849 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 Signed-off-by: Junio C Hamano --- diff --git a/contrib/remote-helpers/git-remote-bzr b/contrib/remote-helpers/git-remote-bzr index 8a4df51fad..35664c6523 100755 --- a/contrib/remote-helpers/git-remote-bzr +++ b/contrib/remote-helpers/git-remote-bzr @@ -621,7 +621,7 @@ def parse_commit(parser): mark = int(mark_ref[1:]) f = { 'mode' : m, 'mark' : mark } elif parser.check('D'): - t, path = line.split(' ') + t, path = line.split(' ', 1) f = { 'deleted' : True } else: die('Unknown file command: %s' % line)