Skip to content

Commit

Permalink
remote-hg: fix for files with spaces
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Felipe Contreras authored and Junio C Hamano committed Nov 28, 2012
1 parent 08c2599 commit 418673c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/remote-helpers/git-remote-hg
Original file line number Diff line number Diff line change
Expand Up @@ -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'):
Expand Down

0 comments on commit 418673c

Please sign in to comment.