hgext/patchbomb.py
changeset 23877 7cc77030c557
parent 23488 11b215731e74
child 24306 6ddc86eedc3b
--- a/hgext/patchbomb.py	Wed Jan 14 20:29:47 2015 -0800
+++ b/hgext/patchbomb.py	Thu Jan 15 23:17:12 2015 +0100
@@ -234,7 +234,7 @@
                    'patch series.\n\n'))
         body = ui.edit(defaultbody, sender)
         # Save series description in case sendmail fails
-        msgfile = repo.opener('last-email.txt', 'wb')
+        msgfile = repo.vfs('last-email.txt', 'wb')
         msgfile.write(body)
         msgfile.close()
     return body