4064 ('', 'partial', None, |
4064 ('', 'partial', None, |
4065 _('commit even if some hunks fail')), |
4065 _('commit even if some hunks fail')), |
4066 ('', 'exact', None, |
4066 ('', 'exact', None, |
4067 _('apply patch to the nodes from which it was generated')), |
4067 _('apply patch to the nodes from which it was generated')), |
4068 ('', 'prefix', '', |
4068 ('', 'prefix', '', |
4069 _('apply patch to directory relative to the root'), _('DIR')), |
4069 _('apply patch to subdirectory'), _('DIR')), |
4070 ('', 'import-branch', None, |
4070 ('', 'import-branch', None, |
4071 _('use any branch information in patch (implied by --exact)'))] + |
4071 _('use any branch information in patch (implied by --exact)'))] + |
4072 commitopts + commitopts2 + similarityopts, |
4072 commitopts + commitopts2 + similarityopts, |
4073 _('[OPTION]... PATCH...')) |
4073 _('[OPTION]... PATCH...')) |
4074 def import_(ui, repo, patch1=None, *patches, **opts): |
4074 def import_(ui, repo, patch1=None, *patches, **opts): |