mercurial/filemerge.py
changeset 48396 6ce9ccfcac23
parent 48395 1eeec02cd919
child 48475 921853391276
--- a/mercurial/filemerge.py	Fri Nov 19 18:14:25 2021 -0800
+++ b/mercurial/filemerge.py	Fri Nov 19 18:48:34 2021 -0800
@@ -995,7 +995,7 @@
 
     def tempfromcontext(prefix, ctx):
         f, name = maketempfrompath(prefix, ctx.path())
-        data = repo.wwritedata(ctx.path(), ctx.data())
+        data = ctx.decodeddata()
         f.write(data)
         f.close()
         return name