Mercurial > public > mercurial-scm > hg
diff mercurial/cmdutil.py @ 30848:7080652af6e6 stable
ui: rename tmpdir parameter to more specific repopath
This was requested by Augie and I agree that repopath is more
descriptive.
author | Sean Farley <sean@farley.io> |
---|---|
date | Wed, 18 Jan 2017 18:25:51 -0800 |
parents | 565c07036066 |
children | 8d7e40524ae4 |
line wrap: on
line diff
--- 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