mercurial/cmdutil.py
changeset 44098 19533e4c3450
parent 44049 6cfaebb625d3
child 44184 b339faf3f843
child 44269 d4c1501225c4
equal deleted inserted replaced
44097:2f1d6180737f 44098:19533e4c3450
   384 
   384 
   385             return crecordmod.filterpatch(
   385             return crecordmod.filterpatch(
   386                 ui, originalhunks, recordfn, operation
   386                 ui, originalhunks, recordfn, operation
   387             )
   387             )
   388     except crecordmod.fallbackerror as e:
   388     except crecordmod.fallbackerror as e:
   389         ui.warn(b'%s\n' % e.message)  # pytype: disable=attribute-error
   389         ui.warn(b'%s\n' % e)
   390         ui.warn(_(b'falling back to text mode\n'))
   390         ui.warn(_(b'falling back to text mode\n'))
   391 
   391 
   392     return patch.filterpatch(ui, originalhunks, match, operation)
   392     return patch.filterpatch(ui, originalhunks, match, operation)
   393 
   393 
   394 
   394