From 418673c4bc48c0b54856449739023b4f978ea235 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Wed, 28 Nov 2012 02:01:32 +0100 Subject: [PATCH] remote-hg: fix for files with spaces Signed-off-by: Felipe Contreras Signed-off-by: Junio C Hamano --- contrib/remote-helpers/git-remote-hg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/remote-helpers/git-remote-hg b/contrib/remote-helpers/git-remote-hg index 07754bdeb..62c39db5b 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'): -- 2.26.2