mercurial/cmdutil.py
branchstable
changeset 30848 7080652af6e6
parent 30836 565c07036066
child 30909 8d7e40524ae4
--- a/mercurial/cmdutil.py	Thu Jan 19 23:01:32 2017 +0900
+++ b/mercurial/cmdutil.py	Wed Jan 18 18:25:51 2017 -0800
@@ -232,7 +232,7 @@
                              + fp.read())
                 reviewedpatch = ui.edit(patchtext, "",
                                         extra={"suffix": ".diff"},
-                                        tmpdir=repo.path)
+                                        repopath=repo.path)
                 fp.truncate(0)
                 fp.write(reviewedpatch)
                 fp.seek(0)
@@ -2782,7 +2782,7 @@
 
     editortext = repo.ui.edit(committext, ctx.user(), ctx.extra(),
                               editform=editform, pending=pending,
-                              tmpdir=repo.path)
+                              repopath=repo.path)
     text = editortext
 
     # strip away anything below this special string (used for editors that want