##// END OF EJS Templates
import: allow application/x-patch for funny patch from christian ebert
Vadim Gelfer -
r2733:42a02b57 default
parent child Browse files
Show More
@@ -1751,7 +1751,7 b' def import_(ui, repo, patch1, *patches, '
1751 if user:
1751 if user:
1752 ui.debug('From: %s\n' % user)
1752 ui.debug('From: %s\n' % user)
1753 diffs_seen = 0
1753 diffs_seen = 0
1754 ok_types = ('text/plain', 'text/x-patch')
1754 ok_types = ('application/x-patch', 'text/plain', 'text/x-patch')
1755 for part in msg.walk():
1755 for part in msg.walk():
1756 content_type = part.get_content_type()
1756 content_type = part.get_content_type()
1757 ui.debug('Content-Type: %s\n' % content_type)
1757 ui.debug('Content-Type: %s\n' % content_type)
General Comments 0
You need to be logged in to leave comments. Login now