mercurial/commands.py
changeset 3858 7c12958eba26
parent 3857 f6f16f871049
child 3859 8c24b6fd5866
equal deleted inserted replaced
3857:f6f16f871049 3858:7c12958eba26
   893                 pf = util.parse_patch_output(line.rstrip())
   893                 pf = util.parse_patch_output(line.rstrip())
   894                 files.append(pf)
   894                 files.append(pf)
   895         if files != [fa]:
   895         if files != [fa]:
   896             ui.write(_(" unexpected patch output!"))
   896             ui.write(_(" unexpected patch output!"))
   897             ui.write(_(" (you may have an incompatible version of patch)\n"))
   897             ui.write(_(" (you may have an incompatible version of patch)\n"))
   898             ui.write(data)
   898             ui.write(output)
   899             problems += 1
   899             problems += 1
   900         a = file(fa).read()
   900         a = file(fa).read()
   901         if a != b:
   901         if a != b:
   902             ui.write(_(" patch test failed!"))
   902             ui.write(_(" patch test failed!"))
   903             ui.write(_(" (you may have an incompatible version of patch)\n"))
   903             ui.write(_(" (you may have an incompatible version of patch)\n"))