mercurial/patch.py
changeset 26421 4b0fc75f9403
parent 25660 328739ea70c3
child 26547 b9be8ab6e628
equal deleted inserted replaced
26420:2fc86d92c4a9 26421:4b0fc75f9403
   993                 if chunk.header.binary():
   993                 if chunk.header.binary():
   994                     ui.write(_('cannot edit patch for binary file'))
   994                     ui.write(_('cannot edit patch for binary file'))
   995                     ui.write("\n")
   995                     ui.write("\n")
   996                     continue
   996                     continue
   997                 # Patch comment based on the Git one (based on comment at end of
   997                 # Patch comment based on the Git one (based on comment at end of
   998                 # http://mercurial.selenic.com/wiki/RecordExtension)
   998                 # https://mercurial-scm.org/wiki/RecordExtension)
   999                 phelp = '---' + _("""
   999                 phelp = '---' + _("""
  1000 To remove '-' lines, make them ' ' lines (context).
  1000 To remove '-' lines, make them ' ' lines (context).
  1001 To remove '+' lines, delete them.
  1001 To remove '+' lines, delete them.
  1002 Lines starting with # will be removed from the patch.
  1002 Lines starting with # will be removed from the patch.
  1003 
  1003