Skip to content

Commit 418673c

Browse files
felipecgitster
authored andcommitted
remote-hg: fix for files with spaces
Signed-off-by: Felipe Contreras <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 08c2599 commit 418673c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/remote-helpers/git-remote-hg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ def parse_commit(parser):
565565

566566
for line in parser:
567567
if parser.check('M'):
568-
t, m, mark_ref, path = line.split(' ')
568+
t, m, mark_ref, path = line.split(' ', 3)
569569
mark = int(mark_ref[1:])
570570
f = { 'mode' : hgmode(m), 'data' : blob_marks[mark] }
571571
elif parser.check('D'):

0 commit comments

Comments
 (0)