##// END OF EJS Templates
phabricator: convert unicode to binary when writing patches...
Jun Wu -
r33602:850d2ec2 stable
parent child Browse files
Show More
@@ -560,7 +560,8 b' def readpatch(repo, params, write, stack'
560 if k in meta:
560 if k in meta:
561 header += '# %s %s\n' % (_metanamemap[k], meta[k])
561 header += '# %s %s\n' % (_metanamemap[k], meta[k])
562
562
563 write(('%s%s\n%s') % (header, desc, body))
563 content = '%s%s\n%s' % (header, desc, body)
564 write(encoding.unitolocal(content))
564
565
565 @command('phabread',
566 @command('phabread',
566 [('', 'stack', False, _('read dependencies'))],
567 [('', 'stack', False, _('read dependencies'))],
General Comments 0
You need to be logged in to leave comments. Login now