From: Felipe Contreras Date: Wed, 28 Nov 2012 01:01:32 +0000 (+0100) Subject: remote-hg: fix for files with spaces X-Git-Tag: v1.8.1-rc0~5^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/418673c4bc48c0b54856449739023b4f978ea235 remote-hg: fix for files with spaces Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg index 07754bdeb2..62c39db5b4 100755 --- a/contrib/remote-helpers/git-remote-hg +++ b/contrib/remote-helpers/git-remote-hg @@ -565,7 +565,7 @@ def parse_commit(parser): for line in parser: if parser.check('M'): - t, m, mark_ref, path = line.split(' ') + t, m, mark_ref, path = line.split(' ', 3) mark = int(mark_ref[1:]) f = { 'mode' : hgmode(m), 'data' : blob_marks[mark] } elif parser.check('D'):