1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-14 15:06:15 +02:00

Merge branch 'rh/remote-hg-bzr-updates' (early part)

Unbreaks a recent breakage due to use of unquote-c-style.

This may need to be cherry-picked down to 1.8.4.x series.

* 'rh/remote-hg-bzr-updates' (early part):
  remote-hg: don't decode UTF-8 paths into Unicode objects
This commit is contained in:
Junio C Hamano 2013-11-25 08:20:02 -08:00
commit c302941cd7

View File

@ -747,7 +747,7 @@ def parse_commit(parser):
f = { 'deleted' : True }
else:
die('Unknown file command: %s' % line)
path = c_style_unescape(path).decode('utf-8')
path = c_style_unescape(path)
files[path] = f
# only export the commits if we are on an internal proxy repo